aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2020-04-23 11:24:36 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-04-23 11:26:05 +0200
commit777ab17ea7c4b0ca476aa3e2ce541a097985d75b (patch)
tree41cc54d75144d6246048dea0fc177ef1d217670a /man3
parentd8833593c704fffec95ad513c5282337aa4f2d3a (diff)
downloadman-pages-777ab17ea7c4b0ca476aa3e2ce541a097985d75b.tar.gz
sem_getvalue.3: Note that glibc's sem_getvalue() doesn't return EINVAL errors
See https://bugzilla.kernel.org/show_bug.cgi?id=204273 Reported-by: Andrea Galbusera <gizero@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/sem_getvalue.33
1 files changed, 3 insertions, 0 deletions
diff --git a/man3/sem_getvalue.3 b/man3/sem_getvalue.3
index 875ddd363e..f2762e64ac 100644
--- a/man3/sem_getvalue.3
+++ b/man3/sem_getvalue.3
@@ -62,6 +62,9 @@ is set to indicate the error.
.B EINVAL
.I sem
is not a valid semaphore.
+(The glibc implementation currently does not check whether
+.I sem
+is valid.)
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).