mq_open.3: Add EINVAL error case for invalid name.
PATCH 1/1 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.
--- man3/mq_open.3 | 5 +++++ 1 file changed, 5 insertions(+)
man3/mq_open.3 +5 -0
@@ -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 ,
Signature · 5 lines
2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 20150228090402.GA23727-LZG+QLMPa+1K62Tw8EOquqxOck334EZe@public.gmane.org
Quoted 2 lines · Duncan Smith
This behavior is implementation-defined by POSIX. If the name doesn't start with a '/', glibc returns EINVAL without attempting the syscall.
Thanks, Duncan. Applied.
Cheers,
Michael
Quoted 21 lines
--- man3/mq_open.3 | 5 +++++ 1 file changed, 5 insertions(+)man3/mq_open.3 +5
-0@@ -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 ,
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html