| To: | Andries Brouwer <Andries.Brouwer@xxxxxx> |
|---|---|
| Subject: | Re: asymmetry with MSG_DONTWAIT in sendmsg() and recvmsg() |
| From: | Chris Friesen <cfriesen@xxxxxxxxxxxxxxxxxx> |
| Date: | Thu, 08 Jul 2004 14:33:19 -0400 |
| Cc: | Andi Kleen <ak@xxxxxxx>, Michael T Kerrisk <mtk-lists@xxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <20040708170705.GA6895@apps.cwi.nl> |
| References: | <20040708170705.GA6895@apps.cwi.nl> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 |
Andries Brouwer wrote:
Can you find the man-pages-1.67 package and construct a concrete patch? 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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2.6] bridge -- support different MTU sizes, Stephen Hemminger |
|---|---|
| Next by Date: | Re: asymmetry with MSG_DONTWAIT in sendmsg() and recvmsg(), Chris Friesen |
| Previous by Thread: | Re: asymmetry with MSG_DONTWAIT in sendmsg() and recvmsg(), Andries Brouwer |
| Next by Thread: | Re: asymmetry with MSG_DONTWAIT in sendmsg() and recvmsg(), Andries Brouwer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |