mlock.2: tweaks to Maxin John's patch

This commit is contained in:
Michael Kerrisk 2008-09-25 11:18:08 +02:00
parent 1ad3882cf8
commit 901d59b5ce
1 changed files with 3 additions and 4 deletions

View File

@ -163,6 +163,9 @@ For
and
.BR munlock ():
.TP
.B EAGAIN
Some or all of the specified address range could not be locked.
.TP
.B EINVAL
.I len
was negative.
@ -175,10 +178,6 @@ was not a multiple of the page size.
.B ENOMEM
Some of the specified address range does not correspond to mapped
pages in the address space of the process.
.TP
.B EAGAIN
Some of the memory identified by the operation could not be locked when
the function call was made.
.LP
For
.BR mlockall ():