Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys Note POSIX 1003.1b-1993.



details:   https://anonhg.NetBSD.org/src/rev/38253ce2105d
branches:  trunk
changeset: 473724:38253ce2105d
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Jun 16 23:30:28 1999 +0000

description:
Note POSIX 1003.1b-1993.

diffstat:

 lib/libc/sys/mlock.2    |  23 +++++++++++++++--------
 lib/libc/sys/mlockall.2 |  23 +++++++++++++++--------
 2 files changed, 30 insertions(+), 16 deletions(-)

diffs (82 lines):

diff -r 1f82a4751bb6 -r 38253ce2105d lib/libc/sys/mlock.2
--- a/lib/libc/sys/mlock.2      Wed Jun 16 23:14:59 1999 +0000
+++ b/lib/libc/sys/mlock.2      Wed Jun 16 23:30:28 1999 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mlock.2,v 1.8 1999/06/16 23:14:59 thorpej Exp $
+.\"    $NetBSD: mlock.2,v 1.9 1999/06/16 23:30:28 thorpej Exp $
 .\"
 .\" Copyright (c) 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -139,6 +139,20 @@
 .Xr munmap 2 ,
 .Xr setrlimit 2 ,
 .Xr getpagesize 3
+.Sh STANDARDS
+The
+.Fn mlock
+and
+.Fn munlock
+functions conform to
+.St -p1003.1b-93 .
+.Sh HISTORY
+The
+.Fn mlock
+and
+.Fn munlock
+functions first appeared in
+.Bx 4.4 .
 .Sh BUGS
 The per-process resource limit is a limit on the amount of virtual
 memory locked, while the system-wide limit is for the number of locked
@@ -146,10 +160,3 @@
 Hence a process with two distinct locked mappings of the same physical page
 counts as 2 pages against the per-process limit and as only a single page
 in the system limit.
-.Sh HISTORY
-The
-.Fn mlock
-and
-.Fn munlock
-functions first appeared in
-.Bx 4.4 .
diff -r 1f82a4751bb6 -r 38253ce2105d lib/libc/sys/mlockall.2
--- a/lib/libc/sys/mlockall.2   Wed Jun 16 23:14:59 1999 +0000
+++ b/lib/libc/sys/mlockall.2   Wed Jun 16 23:30:28 1999 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mlockall.2,v 1.1 1999/06/15 23:31:19 thorpej Exp $
+.\"    $NetBSD: mlockall.2,v 1.2 1999/06/16 23:30:28 thorpej Exp $
 .\"
 .\" Copyright (c) 1999 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -114,6 +114,20 @@
 .Xr mmap 2 ,
 .Xr munmap 2 ,
 .Xr setrlimit 2
+.Sh STANDARDS
+The
+.Fn mlockall
+and
+.Fn munlockall
+functions conform to
+.St -p1003.1b-93 .
+.Sh HISTORY
+The
+.Fn mlockall
+and
+.Fn munlockall
+functions first appeared in
+.Nx 1.5 .
 .Sh BUGS
 The per-process resource limit is a limit on the amount of virtual
 memory locked, while the system-wide limit is for the number of locked
@@ -121,10 +135,3 @@
 Hence a process with two distinct locked mappings of the same physical page
 counts as 2 pages against the per-process limit and as only a single page
 in the system limit.
-.Sh HISTORY
-The
-.Fn mlockall
-and
-.Fn munlockall
-functions first appeared in
-.Nx 1.5 .



Home | Main Index | Thread Index | Old Index