setstate_r

Name

setstate_r -- reentrantly change the state array used by random number generator functions

Synopsis

#include <stdlib.h>

int setstate_r(char * statebuf, struct random_data * buf);

Description

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