aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorTorvald Riegel <triegel@redhat.com>2015-02-28 01:04:02 -0800
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-03-03 08:25:49 +0100
commitc8aba8ed88edc1e17da99053beff570e7d8831ce (patch)
treef40b215cdfd8bf9be4ef8ac30db79bb124020ef2 /man3
parent1533d242958ffb333d9d6d47d9c3f08eeb2cb52b (diff)
downloadman-pages-c8aba8ed88edc1e17da99053beff570e7d8831ce.tar.gz
mq_open.3: Add EINVAL error case for invalid name
This behavior is implementation-defined by POSIX. If the name doesn't start with a '/', glibc returns EINVAL without attempting the syscall. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/mq_open.35
1 files changed, 5 insertions, 0 deletions
diff --git a/man3/mq_open.3 b/man3/mq_open.3
index f5833cc9fc..149a51b903 100644
--- a/man3/mq_open.3
+++ b/man3/mq_open.3
@@ -168,6 +168,11 @@ but a queue with this
already exists.
.TP
.B EINVAL
+.I name
+doesn't follow the format in
+.BR mq_overview (7).
+.TP
+.B EINVAL
.B O_CREAT
was specified in
.IR oflag ,