netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Friesen <cfriesen@nortelnetworks.com>
To: Andries Brouwer <Andries.Brouwer@cwi.nl>
Cc: Andi Kleen <ak@suse.de>, Michael T Kerrisk <mtk-lists@gmx.net>,
	netdev@oss.sgi.com
Subject: Re: asymmetry with MSG_DONTWAIT in sendmsg() and recvmsg()
Date: Thu, 08 Jul 2004 14:33:19 -0400	[thread overview]
Message-ID: <40ED936F.9000905@nortelnetworks.com> (raw)
In-Reply-To: <20040708170705.GA6895@apps.cwi.nl>

Andries Brouwer wrote:
> Can you find the man-pages-1.67 package and construct a concrete patch?
> 
> (Don't know precisely what you want to do. The above gives a filename
> recv.man, which would be recv.2 in my sources. But there is no MSG_NOSIGNAL
> in recv.2, only in send.2. The fragment of text that you give occurs
> already in recv.2.)

Sorry, the filenames have no meaning since I wasn't working from the package, 
but from the output of the "man" command.

Working from the webpage at:

http://homepages.cwi.nl/~aeb/linux/man2html/man2/recv.2.html

There is mention of MSG_DONTWAIT when discussing the "msg_flags" field in 
"struct msghdr".  It contains exactly the text proposed.  However, the msg_flags 
field is set on *return* of the call.  Every other flag discussed there 
"indicates" something.  The blurb for MSG_DONTWAIT says that it "enables" a 
behaviour, which doesn't make sense for a field set on call return.

There is no mention of MSG_DONTWAIT when discussing the "flags" parameter of the 
recv/recvfrom/recvmsg call.

Generally, I want to move the current blob from the "msg_flags" area to the 
"flags" area, and then add a different discussion for "msg_flags" if appropriate 
(I'm not sure about that part).

Do you still want me to generate an actual patch against man-pages-1.67, or is 
that description enough?

Chris

  reply	other threads:[~2004-07-08 18:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-07 13:42 asymmetry with MSG_DONTWAIT in sendmsg() and recvmsg() Chris Friesen
2004-07-08  8:34 ` Michael T Kerrisk
2004-07-08 16:21   ` Chris Friesen
2004-07-08 16:27     ` Andi Kleen
2004-07-08 16:49       ` Chris Friesen
2004-07-08 17:07         ` Andries Brouwer
2004-07-08 18:33           ` Chris Friesen [this message]
2004-07-08 19:05             ` Andries Brouwer
2004-07-08 17:25     ` Nivedita Singhvi
2004-07-08 18:34       ` Chris Friesen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40ED936F.9000905@nortelnetworks.com \
    --to=cfriesen@nortelnetworks.com \
    --cc=Andries.Brouwer@cwi.nl \
    --cc=ak@suse.de \
    --cc=mtk-lists@gmx.net \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).