Sets the starting point for generating a series of pseudorandom integers.
#include <stdlib.h> void srand (unsigned int seed);
seed
rand retrieves pseudorandom numbers. Calling rand before any call to srand generates the same sequence as calling srand with seed passed as 1.
Nothing.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 | intime/rt/include/stdlib.h | stdlib.h | clib.lib |