Copyright (C) 2000-2012 |
Manpages MUNLOCKALLSection: Linux Programmer's Manual (2)Updated: 1995-11-26 Index Return to Main Contents NAMEmunlockall - reenable paging for calling processSYNOPSIS#include <sys/mman.h> int munlockall(void); DESCRIPTIONmunlockall reenables paging for all pages mapped into the address space of the calling process.Memory locks do not stack, i.e., pages which have been locked several times by calls to mlock or mlockall will be unlocked by a single call to munlockall. Pages which are mapped to several locations or by several processes stay locked into RAM as long as they are locked at least at one location or by at least one process. On POSIX systems on which mlockall and munlockall are available, _POSIX_MEMLOCK is defined in <unistd.h> . RETURN VALUEOn success, munlockall returns zero. On error, -1 is returned and errno is set appropriately.CONFORMING TOPOSIX.1b, SVr4SEE ALSOmlockall(2), mlock(2), munlock(2)
IndexThis document was created by man2html, using the manual pages. Time: 13:10:29 GMT, March 28, 2024 |