1
0

random.h 324 B

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