Lock a process's address space
#include <sys/mman.h> int mlockall( int flags );
libc
The mlockall() function isn't currently supported.
-1 to indicate an error (errno is set.)
POSIX 1003.1 (Realtime Extensions)
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
mlock(), munlock(), munlockall()