Commit f9ab976c authored by Stefan Behnel's avatar Stefan Behnel Committed by GitHub

Merge pull request #2894 from navytux/y/MMAP_FAILED

include: posix.mman += MAP_FAILED
parents 4c30e35b 67253049
......@@ -24,6 +24,8 @@ cdef extern from "<sys/mman.h>" nogil:
enum: MAP_NOCORE # Typically available only on BSD
enum: MAP_NOSYNC
void *MAP_FAILED
void *mmap(void *addr, size_t Len, int prot, int flags, int fd, off_t off)
int munmap(void *addr, size_t Len)
int mprotect(void *addr, size_t Len, int prot)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment