OpenWrt_Luci_Lua/1_6.h12_dev/render/libuuid-1.0.3/randutils.h

13 lines
236 B
C
Raw Permalink Normal View History

2016-02-16 07:48:49 +00:00
#ifndef UTIL_LINUX_RANDUTILS
#define UTIL_LINUX_RANDUTILS
#ifdef HAVE_SRANDOM
#define srand(x) srandom(x)
#define rand() random()
#endif
extern int random_get_fd(void);
extern void random_get_bytes(void *buf, size_t nbytes);
#endif