Penguin
Blame: munlockall(2)
EditPageHistoryDiffInfoLikePages
Annotated edit history of munlockall(2) version 2, including all changes. View license author blame.
Rev Author # Line
1 perry 1 !!NAME
2 PerryLorier 2 munlockall - reenable paging for calling process
1 perry 3
4 !!SYNOPSIS
2 PerryLorier 5 __#include <sys/mman.h>__
1 perry 6
7 !!DESCRIPTION
2 PerryLorier 8 __munlockall__ reenables paging for all pages mapped into the address space of the calling process.
1 perry 9
2 PerryLorier 10 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.
1 perry 11
2 PerryLorier 12 On POSIX systems on which __mlockall__ and __munlockall__ are available, ___POSIX_MEMLOCK__ is defined in ''<unistd.h>''
1 perry 13
14 !!RETURN VALUE
2 PerryLorier 15 On success, __munlockall__ returns zero. On error, -1 is returned and ''errno'' is set appropriately.
1 perry 16
17 !!CONFORMING TO
2 PerryLorier 18 POSIX.1b, SVr4
1 perry 19
20 !!SEE ALSO
2 PerryLorier 21 mlockall(2), mlock(2), munlock(2)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 6 times)