srand() General Function (libc) srand() Seed random number generator void srand(seed) int seed; srand uses seed to initialize the sequence of pseudo-random num- bers returned by rand. Different values of seed initialize dif- ferent sequences. ***** Example ***** For an example of this function, see the entry for rand. ***** See Also ***** general functions, rand() The Art of Computer Programming, vol. 2 COHERENT Lexicon Page 1