diff options
Diffstat (limited to 'usr/src/man/man3c/mlock.3c')
-rw-r--r-- | usr/src/man/man3c/mlock.3c | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/usr/src/man/man3c/mlock.3c b/usr/src/man/man3c/mlock.3c index 3677e4928e..837575e836 100644 --- a/usr/src/man/man3c/mlock.3c +++ b/usr/src/man/man3c/mlock.3c @@ -4,7 +4,7 @@ .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH mlock 3C "10 Apr 2007" "SunOS 5.11" "Standard C Library Functions" +.TH MLOCK 3C "Apr 10, 2007" .SH NAME mlock, munlock \- lock or unlock pages in memory .SH SYNOPSIS @@ -87,47 +87,39 @@ indicate the error. The \fBmlock()\fR and \fBmunlock()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIaddr\fR argument is not a multiple of the page size as returned by \fBsysconf\fR(3C). .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Addresses in the range [\fIaddr, addr + len\fR) are invalid for the address space of a process, or specify one or more pages which are not mapped. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR\fR .ad .RS 10n -.rt The system does not support this memory locking interface. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The {\fBPRIV_PROC_LOCK_MEMORY\fR} privilege is not asserted in the effective set of the calling process. .RE @@ -137,12 +129,10 @@ set of the calling process. The \fBmlock()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt Some or all of the memory identified by the range [\fIaddr, addr + len\fR) could not be locked because of insufficient system resources or because of a limit or resource control on locked memory. @@ -162,15 +152,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO |