New: msg_len of mq_receive()
https://bugzilla.kernel.org/show_bug.cgi?id=64571
Bug ID: 64571
Summary: msg_len of mq_receive()
Product: Documentation
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: man-pages
Assignee: documentation_man-pages-ztI5WcYan/[email protected]
Reporter: [email protected]
Regression: No
In the DESCRIPTION section of the manpage of "man 3 mq_receive", it says: "The msg_len argument specifies the size of the buffer pointed to by msg_ptr; this must be greater than the mq_msgsize attribute of the queue (see mq_getattr(3))."
Further down, in the ERROR section, it says: "EMSGSIZE msg_len was less than
the mq_msgsize attribute of the message queue."
I think the description should say "this must be *greater or equal* than the mq_msgsize attribute", because currently it says "this must be *greater* than the mq_msgsize attribute", but according to the ERROR section it would only be an error if "msg_len was less than the mq_msgsize attribute".
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. -- 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): bug-64571-11311-3bo0kxnWaOQUvHkbgXJLS5sdmw4N0Rt+2LY78lusg7I@public.gmane.org/
[Bug 64571] msg_len of man 3 mq_receive
https://bugzilla.kernel.org/show_bug.cgi?id=64571
janh <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|msg_len of mq_receive() |msg_len of man 3 mq_receive
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. -- 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
[Bug 64571] msg_len of man 3 mq_receive
In reply to a message not in the archivehttps://bugzilla.kernel.org/show_bug.cgi?id=64571
Michael Kerrisk <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |[email protected]
Resolution|--- |CODE_FIX--- Comment #1 from Michael Kerrisk <[email protected]> --- Yes, of course that's correct. I've applied a patch to add "or equal to".
Thanks for the report.
Cheers,
Michael
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. -- 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