1 #ifndef _SYS_RANDOM_H 2 #define _SYS_RANDOM_H 3 #ifdef __cplusplus 4 extern "C" { 5 #endif 6 7 #define __NEED_size_t 8 #define __NEED_ssize_t 9 #include <bits/alltypes.h> 10 11 #define GRND_NONBLOCK 0x0001 12 #define GRND_RANDOM 0x0002 13 14 ssize_t getrandom(void *, size_t, unsigned); 15 16 #ifdef __cplusplus 17 } 18 #endif 19 #endif 20