srand48_r

Name

srand48_r -- reentrantly generate pseudorandom numbers in a uniform distribution

Synopsis

#include <stdlib.h>

int srand48_r(long int seedval, struct drand48_data * buffer);

Description

The interface srand48_r() shall function in the same way as the interface srand48(), except that srand48_r() shall use the data in buffer instead of the global random number generator state.