Commit 4c30e35b authored by Stefan Behnel's avatar Stefan Behnel Committed by GitHub

Merge pull request #2893 from navytux/y/mlock2

include: posix.mman += mlock2, MLOCK_ONFAULT, MCL_ONFAULT
parents 35fe1909 83a5700b
......@@ -46,6 +46,10 @@ cdef extern from "<sys/mman.h>" nogil:
int munlock(const void *addr, size_t Len)
int mlockall(int flags)
int munlockall()
# Linux-specific
enum: MLOCK_ONFAULT
enum: MCL_ONFAULT
int mlock2(const void *addr, size_t len, int flags)
int shm_open(const char *name, int oflag, mode_t mode)
int shm_unlink(const char *name)
......
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