mman.h 339 B

123456789101112131415161718192021222324
  1. #ifndef __GBLIBC_SYS_MMAN_H
  2. #define __GBLIBC_SYS_MMAN_H
  3. #include <sys/types.h>
  4. #define MAP_SHARED 0x01
  5. #define MAP_PRIVATE 0x02
  6. #define MAP_FIXED 0x10
  7. #define MAP_ANONYMOUS 0x20
  8. #define PROT_NONE 0
  9. #define PROT_READ 1
  10. #define PROT_WRITE 2
  11. #define PROT_EXEC 4
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. #ifdef __cplusplus
  16. }
  17. #endif
  18. #endif