aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2008-08-21 06:48:50 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2008-08-21 06:48:50 +0000
commit345edc6afd7cf7c91f7399509928e83b07560b34 (patch)
treee3a5b85119e327ce4f1d22ee367910a3b43556cb /man3
parent8fb853ba83956b7a679e57b021218059a2384265 (diff)
downloadman-pages-345edc6afd7cf7c91f7399509928e83b07560b34.tar.gz
POSIX.1-2008 rectifies the POSIX.1-2001 ommission, specifying
that zero is returned by a successful sem_init() call.
Diffstat (limited to 'man3')
-rw-r--r--man3/sem_init.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/sem_init.3 b/man3/sem_init.3
index c80ec30a2d..72f418f0b8 100644
--- a/man3/sem_init.3
+++ b/man3/sem_init.3
@@ -98,7 +98,7 @@ POSIX.1-2001.
Bizarrely, POSIX.1-2001 does not specify the value that should
be returned by a successful call to
.BR sem_init ().
-However, virtually every implementation returns zero in this case.
+POSIX.1-2008 rectifies this, specifying the zero return on success.
.SH "SEE ALSO"
.BR sem_destroy (3),
.BR sem_post (3),