Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

RedHat 9 (Linux i386) - man page for munlockall (redhat section 2)

MUNLOCKALL(2)			    Linux Programmer's Manual			    MUNLOCKALL(2)

NAME
       munlockall - reenable paging for calling process

SYNOPSIS
       #include <sys/mman.h>

       int munlockall(void);

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.

       On POSIX systems on which mlockall and munlockall are available, _POSIX_MEMLOCK is defined
       in <unistd.h> .

RETURN VALUE
       On success, munlockall returns zero.  On error, -1 is returned and errno is set	appropri-
       ately.

CONFORMING TO
       POSIX.1b, SVr4

SEE ALSO
       mlockall(2), mlock(2), munlock(2)

Linux 1.3.43				    1995-11-26				    MUNLOCKALL(2)


All times are GMT -4. The time now is 12:38 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password