Module Name: src
Committed By: wiz
Date: Thu Mar 8 22:12:52 UTC 2012
Modified Files:
src/lib/librt: sem_open.3
Log Message:
Merge error descriptions for same error code.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/librt/sem_open.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/librt/sem_open.3
diff -u src/lib/librt/sem_open.3:1.5 src/lib/librt/sem_open.3:1.6
--- src/lib/librt/sem_open.3:1.5 Thu Mar 8 21:59:29 2012
+++ src/lib/librt/sem_open.3 Thu Mar 8 22:12:52 2012
@@ -1,4 +1,4 @@
-.\" $NetBSD: sem_open.3,v 1.5 2012/03/08 21:59:29 joerg Exp $
+.\" $NetBSD: sem_open.3,v 1.6 2012/03/08 22:12:52 wiz Exp $
.\"
.\" Copyright (C) 2000 Jason Evans <[email protected]>.
.\" All rights reserved.
@@ -140,9 +140,8 @@ function will fail if:
.It Bq Er EACCES
The semaphore exists and the permissions specified by
.Fa oflag
-at the time it was created deny access to this process.
-.It Bq Er EACCES
-The semaphore does not exist, but permission to create it is denied.
+at the time it was created deny access to this process;
+or the semaphore does not exist, but permission to create it is denied.
.It Bq Er EEXIST
.Dv O_CREAT
and
@@ -154,9 +153,8 @@ The call was interrupted by a signal.
The
.Fn sem_open
operation is not supported for the given
-.Fa name .
-.It Bq Er EINVAL
-The
+.Fa name ;
+or the
.Fa value
argument is greater than
.Dv SEM_VALUE_MAX .