Generates a pseudo-random number.
#include <stdlib.h> int rand (void);
Use srand to seed the pseudo-random-number generator before calling rand.
A pseudo-random integer in the range 0 to RAND_MAX.
No error return.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 | intime/rt/include/stdlib.h | stdlib.h | clib.lib |