logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

random.h (324B)


  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