Synopsis

#include <stdlib.h>

int rand_r(unsigned int *seed);

Description

Function returns a pseudo-random number in the range of 0 to RAND_MAX (reentrant version).

Return value

Errors