1 .\" @(#)rand.3c 6.2 (Berkeley) 9/29/85
3 .TH RAND 3 "September 29, 1985"
6 rand, srand \- random number generator
12 void srand(unsigned \fIseed\fP)
18 uses a multiplicative congruential
19 random number generator with period
22 to return successive pseudo-random
23 numbers in the range from 0 to
26 The generator is reinitialized by calling
29 It can be set to a random starting point by calling
31 with whatever you like as argument.