diff options
Diffstat (limited to 'api/posix/sys')
| -rw-r--r-- | api/posix/sys/mman.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/posix/sys/mman.h b/api/posix/sys/mman.h index dde74c0..dd8d6f5 100644 --- a/api/posix/sys/mman.h +++ b/api/posix/sys/mman.h @@ -1,5 +1,7 @@ #pragma once +#define MAP_FAILED ((void *) 1) + void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset); int munmap(void *addr, size_t length); |
