[PATCH] mq_open.3: Add EINVAL error case for invalid name.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This behavior is implementation-defined by POSIX.  If the name doesn't
start with a '/', glibc returns EINVAL without attempting the syscall.
---
 man3/mq_open.3 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/man3/mq_open.3 b/man3/mq_open.3
index e5f74d4..243aca0 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 ,
-- 
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux