libwget-random(3) | wget2 | libwget-random(3) |
libwget-random - Random functions
void wget_random_init (void)
void wget_random_exit (void)
int wget_random (void)
void wget_srandom (unsigned int seed)
This is wrapper code around gnulib's srandom_r() and random_r() with automatic seeding
Random API initialization, allocating/preparing the internal resources.
On systems with automatic library constructors, this function doesn't have to be called explictly.
This function is not thread-safe.
Random API deinitialization, free'ing all internal resources.
On systems with automatic library destructors, this function doesn't have to be called explictly.
This function is not thread-safe.
Returns
This functions wraps around gnulib's random_r(). It performs a thread-safe seeding on the first use, if not done before by wget_srandom();
Parameters
This functions wraps around srandom_r() to make a thread-safe seeding for wget_random().
Generated automatically by Doxygen for wget2 from the source code.
Tue Jan 26 2021 | Version 1.99.1 |