Go to the documentation of this file.
38#define getrandom seed_random
39static ssize_t seed_random(
void *buf,
size_t buflen,
unsigned int flags) {
41 const ssize_t ss =
sizeof(
unsigned int);
43 unsigned int *b = (
unsigned int*)buf;
45 srandom((
unsigned int)SEED);
54#include <sys/random.h>