Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/sys Merge EINVAL descriptions; sort errors alphabet...



details:   https://anonhg.NetBSD.org/src/rev/c49ab104c002
branches:  trunk
changeset: 762776:c49ab104c002
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Feb 28 07:17:02 2011 +0000

description:
Merge EINVAL descriptions; sort errors alphabetically; bump date.

diffstat:

 lib/libc/sys/mlock.2 |  18 +++++++-----------
 1 files changed, 7 insertions(+), 11 deletions(-)

diffs (49 lines):

diff -r 6b78d43fb49c -r c49ab104c002 lib/libc/sys/mlock.2
--- a/lib/libc/sys/mlock.2      Mon Feb 28 04:03:00 2011 +0000
+++ b/lib/libc/sys/mlock.2      Mon Feb 28 07:17:02 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mlock.2,v 1.19 2011/02/28 04:03:00 dholland Exp $
+.\"    $NetBSD: mlock.2,v 1.20 2011/02/28 07:17:02 wiz Exp $
 .\"
 .\" Copyright (c) 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"    @(#)mlock.2     8.2 (Berkeley) 12/11/93
 .\"
-.Dd June 2, 1993
+.Dd February 28, 2011
 .Dt MLOCK 2
 .Os
 .Sh NAME
@@ -112,14 +112,12 @@
 .Fn mlock
 will fail if:
 .Bl -tag -width Er
-.It Bq Er EINVAL
-The length is negative.
-.It Bq Er EINVAL
-The address or length given is not page aligned and the implementation
-does not round.
 .It Bq Er EAGAIN
 Locking the indicated range would exceed either the system or per-process
 limit for locked memory.
+.It Bq Er EINVAL
+The length is negative; or the address or length given is not page
+aligned and the implementation does not round.
 .It Bq Er ENOMEM
 Some portion of the indicated address range is not allocated.
 There was an error faulting/mapping a page.
@@ -133,10 +131,8 @@
 will fail if:
 .Bl -tag -width Er
 .It Bq Er EINVAL
-The length is negative.
-.It Bq Er EINVAL
-The address or length given is not page aligned and the implementation
-does not round.
+The length is negative; or the address or length given is not page
+aligned and the implementation does not round.
 .It Bq Er ENOMEM
 Some portion of the indicated address range is not allocated.
 Some portion of the indicated address range is not locked.



Home | Main Index | Thread Index | Old Index