setstate(3C)
_________________________________________________________________
setstate function
Change random number generation.
_________________________________________________________________
Calling Sequence
char *setstate(), *state, *ptr;
...
ptr = setstate(state);
Description
Use the setstate function to change random number generation.
This function returns a pointer to the previous state information
array, which contains information about random number generation.
That array is then used for further random number generation
until the next call to initstate or setstate.
Returns
The function setstate returns a pointer to the previous state
information array.
Related Functions
See also the functions initstate, random, and srandom.
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)