Bug 137351 - MSG_NOSIGNAL not documented in man 2 recv, OR misprint in man recvmsg in the line "This can be avoided by passing the MSG_NOSIGNAL flag to sendmsg(2) or recvmsg(2)."
Summary: MSG_NOSIGNAL not documented in man 2 recv, OR misprint in man recvmsg in the ...
Status: RESOLVED CODE_FIX
Alias: None
Product: Documentation
Classification: Unclassified
Component: man-pages (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: documentation_man-pages@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-21 21:06 UTC by Ivan Kharpalev
Modified: 2016-07-24 20:35 UTC (History)
1 user (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Ivan Kharpalev 2016-07-21 21:06:43 UTC
MSG_NOSIGNAL is not documented in man 2 recv.
Comment 1 Michael Kerrisk 2016-07-22 06:29:28 UTC
But, as far as I know, it does nothing for recv(2). If you believe otherwise, please add some supporting info.
Comment 2 Michael Kerrisk 2016-07-22 06:51:48 UTC
I see that you changed the title of the bug. This is far too cryptic as a way of reporting a bug. I can't find the text you refer to. Please note in a comment exactly the text and exactly the page you are referring to, and also check that the bug is present in the latest man page.
Comment 3 Michael Kerrisk 2016-07-24 20:35:29 UTC
Applied the patch below. Closing this bug...

diff --git a/man7/unix.7 b/man7/unix.7
index e111734..0d44dd6 100644
--- a/man7/unix.7
+++ b/man7/unix.7
@@ -518,9 +518,9 @@ is sent as well.
 This can be avoided by passing the
 .B MSG_NOSIGNAL
 flag to
-.BR sendmsg (2)
+.BR send (2)
 or
-.BR recvmsg (2).
+.BR sendmsg (2).
 .TP
 .B EPROTONOSUPPORT
 Passed protocol is not

Note You need to log in before you can comment on or make changes to this bug.