SRAND48 - set random seed.

(Compatible with UNIX System V C)

Usage:

void srand48();
srand48(seed);

Where:

long seed;
is a beginning value for the pseudo-random number sequence. If you always use the same seed, you will always get the same sequence of numbers.

Description:

"srand48" sets a seed for various random number generation routines ("drand48", "lrand48", and "mrand48").

See Also:

expl c lib seed48
expl c lib drand48
expl c lib erand48
expl c lib jrand48
expl c lib mrand48
expl c lib nrand48
expl c lib lcong48
expl c lib rand

Copyright © 1996, Thinkage Ltd.