Module Name: src
Committed By: wiz
Date: Sun Jun 21 18:04:46 UTC 2009
Modified Files:
src/lib/libc/sys: semctl.2
Log Message:
Sort errors.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/lib/libc/sys/semctl.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/semctl.2
diff -u src/lib/libc/sys/semctl.2:1.18 src/lib/libc/sys/semctl.2:1.19
--- src/lib/libc/sys/semctl.2:1.18 Sun Jun 21 17:52:42 2009
+++ src/lib/libc/sys/semctl.2 Sun Jun 21 18:04:46 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: semctl.2,v 1.18 2009/06/21 17:52:42 dholland Exp $
+.\" $NetBSD: semctl.2,v 1.19 2009/06/21 18:04:46 wiz Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
.\" All rights reserved.
@@ -198,6 +198,19 @@
.Fn semctl
will fail if:
.Bl -tag -width Er
+.It Bq Er EACCES
+The caller has no operation permission for this semaphore.
+.It Bq Er EFAULT
+.Fa arg.buf
+or
+.Fa arg.array
+specifies an invalid address.
+.It Bq Er EINVAL
+.Fa semid
+is not a valid message semaphore identifier.
+.Pp
+.Va cmd
+is not a valid command.
.It Bq Er EPERM
.Fa cmd
is equal to
@@ -210,19 +223,6 @@
or
.Va sem_perm.cuid
fields of the data structure associated with the semaphore.
-.It Bq Er EACCES
-The caller has no operation permission for this semaphore.
-.It Bq Er EINVAL
-.Fa semid
-is not a valid message semaphore identifier.
-.Pp
-.Va cmd
-is not a valid command.
-.It Bq Er EFAULT
-.Fa arg.buf
-or
-.Fa arg.array
-specifies an invalid address.
.It Bq Er ERANGE
.Fa cmd
is equal to