INtime SDK Help
srand

Sets the starting point for generating a series of pseudorandom integers.

#include <stdlib.h>

void srand (unsigned int seed);

Parameters

seed
Starting point for random-number generation. Use 1 to reinitialize the generator.

Remarks

rand retrieves pseudorandom numbers. Calling rand before any call to srand generates the same sequence as calling srand with seed passed as 1.

Return Values

Nothing.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/stdlib.h stdlib.h clib.lib

See Also

rand