Module Name:    src
Committed By:   joerg
Date:           Sat Jul  7 01:37:13 UTC 2012

Modified Files:
        src/lib/librt: sem_init.3

Log Message:
Shared semaphores have been supported since the initial version, so drop
obsolete restriction.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/librt/sem_init.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_init.3
diff -u src/lib/librt/sem_init.3:1.2 src/lib/librt/sem_init.3:1.3
--- src/lib/librt/sem_init.3:1.2	Thu Mar  8 21:59:29 2012
+++ src/lib/librt/sem_init.3	Sat Jul  7 01:37:12 2012
@@ -1,4 +1,4 @@
-.\" $NetBSD: sem_init.3,v 1.2 2012/03/08 21:59:29 joerg Exp $
+.\" $NetBSD: sem_init.3,v 1.3 2012/07/07 01:37:12 joerg Exp $
 .\"
 .\" Copyright (C) 2000 Jason Evans <jas...@freebsd.org>.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 .\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd February 29, 2012
+.Dd July 7, 2012
 .Dt SEM_INIT 3
 .Os
 .Sh NAME
@@ -88,14 +88,3 @@ Unable to initialize a shared semaphore.
 .Fn sem_init
 conforms to
 .St -p1003.1-96 .
-.Pp
-This implementation does not support shared semaphores, and reports this fact
-by setting
-.Va errno
-to
-.Er EPERM .
-This is perhaps a stretch of the intention of POSIX, but is
-compliant, with the caveat that
-.Fn sem_init
-always reports a permissions error when an attempt to create a shared semaphore
-is made.

Reply via email to