srandom(3C)
_________________________________________________________________
srandom function
Specify a number with which to start random number generation.
_________________________________________________________________
Calling Sequence
void srandom();
unsigned seed;
...
srandom(seed);
Description
Use the srandom function to specify a seed to be used for the
random function. The seed is the number from which random number
generation will begin.
Returns
Unlike srand, the function srandom does not return a value.
Related Functions
See also the functions initstate, random, and setstate.
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)