@c ----------------------------------------------------------------------
@node srand, random number
@heading @code{srand}
@subheading Syntax

@example
#include <stdlib.h>

void srand(unsigned seed);
@end example

@subheading Description

This function initialized the random number generator (@pxref{rand}). 
Passing the same @var{seed} results in @code{rand} returning predictable
sequences of numbers. 

@subheading Return Value

None.

@subheading Example

@example
srand(45);
@end example

@c ----------------------------------------------------------------------
@node srandom, random number
@heading @code{srandom}
@subheading Syntax

@example
#include <stdlib.h>

void srandom(int seed);
@end example

@subheading Description

This function initialized the random number generator (@pxref{random}). 
Passing the same @var{seed} results in @code{random} returning predictable
sequences of numbers. 

@subheading Return Value

None.

@subheading Example

@example
srandom(45);
@end example

