if (sizeof (unsigned short int) == 2) { buffer->X[2] = seedval >> 16; buffer->X[1] = seedval & 0xffffl; buffer->X[0] = 0x330e; } else { buffer->X[2] = seedval; buffer->X[1] = 0x330e0000UL; buffer->X[0] = 0; }
srand48_r (seedval, buffer)     long seedval;     struct drand48_data *buffer;{  /* The standards say we only have 32 bits.  */  if (sizeof (long) > 4)    seedval &= 0xffffffffl;  if (sizeof (unsigned short int) == 2)    {      buffer->X[2] = seedval >> 16;      buffer->X[1] = seedval & 0xffffl;      buffer->X[0] = 0x330e;    }  else    {      buffer->X[2] = seedval;      buffer->X[1] = 0x330e0000UL;      buffer->X[0] = 0;    }  return 0;}