Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librt Shared semaphores have been supported since the in...
details: https://anonhg.NetBSD.org/src/rev/1c9e15455d7d
branches: trunk
changeset: 780013:1c9e15455d7d
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Jul 07 01:37:12 2012 +0000
description:
Shared semaphores have been supported since the initial version, so drop
obsolete restriction.
diffstat:
lib/librt/sem_init.3 | 15 ++-------------
1 files changed, 2 insertions(+), 13 deletions(-)
diffs (33 lines):
diff -r 5de960d04d0b -r 1c9e15455d7d lib/librt/sem_init.3
--- a/lib/librt/sem_init.3 Fri Jul 06 21:10:56 2012 +0000
+++ b/lib/librt/sem_init.3 Sat Jul 07 01:37:12 2012 +0000
@@ -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 <jasone%FreeBSD.org@localhost>.
.\" 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 @@
.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.
Home |
Main Index |
Thread Index |
Old Index