srand.c

The libc implementation

Author

Martin ‘Solar’ Baute

License

Public Domain

Summary
srand.cThe libc implementation
Functions
srandSets the new seed to be used by rand

Functions

srand

void srand(unsigned int seed)

Sets the new seed to be used by rand

void srand(unsigned int seed)
Sets the new seed to be used by rand
int rand(void)
Returns a random number between 0 and RAND_MAX