Penguin
Diff: munlockall(2)
EditPageHistoryDiffInfoLikePages

Differences between current version and predecessor to the previous major change of munlockall(2).

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 2 Last edited on Saturday, March 15, 2003 1:41:38 am by PerryLorier
Older page: version 1 Last edited on Tuesday, June 4, 2002 12:23:43 am by perry Revert
@@ -1,52 +1,21 @@
-MUNLOCKALL  
-!!!MUNLOCKALL  
-NAME  
-SYNOPSIS  
-DESCRIPTION  
-RETURN VALUE  
-CONFORMING TO  
-SEE ALSO  
-----  
 !!NAME 
+munlockall - reenable paging for calling process  
  
-  
-munlockall - reenable paging for calling process  
 !!SYNOPSIS 
+ __#include <sys/mman.h>__  
  
-  
-__#include  
-__  
 !!DESCRIPTION 
+__munlockall__ 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.  
  
-__munlockall__ reenables paging for all pages mapped into  
-the address space of the calling process
+On POSIX systems on which __mlockall__ and __munlockall__ are available, ___POSIX_MEMLOCK__ is defined in ''<unistd .h>''  
  
-  
-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 ''''  
 !!RETURN VALUE 
+On success, __munlockall__ returns zero. On error, -1 is returned and ''errno'' is set appropriately.  
  
-  
-On success, __munlockall__ returns zero. On error, -1 is  
-returned and ''errno'' is set appropriately.  
 !!CONFORMING TO 
+POSIX.1b, SVr4  
  
-  
-POSIX.1b, SVr4  
 !!SEE ALSO 
-  
-  
- mlockall(2), mlock(2),  
- munlock(2)  
-----  
+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.