| www.delorie.com/djgpp/doc/libc-2.01/libc_591.html | search |
#include <stdlib.h> int srandom(int seed);
This function initialized the random number generator (see section random).
Passing the same seed results in random returning predictable
sequences of numbers.
Zero.
srandom(45);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |