Luna/libc/include/bits/mmap-flags.h
apio 08c888eaae
All checks were successful
continuous-integration/drone/push Build is passing
kernel+libc: Remove (de)allocate_memory and replace it with POSIX mmap
2023-03-14 20:43:15 +01:00

16 lines
267 B
C

/* bits/mmap-flags.h: PROT_* constants for mmap(). */
#ifndef _BITS_MMAP_FLAGS_H
#define _BITS_MMAP_FLAGS_H
#define PROT_NONE 0
#define PROT_READ 1
#define PROT_WRITE 2
#define PROT_EXEC 4
#define MAP_PRIVATE 0
#define MAP_SHARED 1
#define MAP_ANONYMOUS 2
#endif