mirror of https://github.com/mkerrisk/man-pages
Noted which flags appered in Linux 2.2.
This commit is contained in:
parent
c789ed8789
commit
6eb4bccc16
10
man2/recv.2
10
man2/recv.2
|
@ -36,7 +36,7 @@
|
|||
.\" Modified 1998,1999 by Andi Kleen
|
||||
.\" 2001-06-19 corrected SO_EE_OFFENDER, bug report by James Hawtin
|
||||
.\"
|
||||
.TH RECV 2 2008-05-29 "Linux" "Linux Programmer's Manual"
|
||||
.TH RECV 2 2008-07-14 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
recv, recvfrom, recvmsg \- receive a message from a socket
|
||||
.SH SYNOPSIS
|
||||
|
@ -135,7 +135,7 @@ This flag is useful for the same reasons as the
|
|||
flag of
|
||||
.BR open (2).
|
||||
.TP
|
||||
.B MSG_DONTWAIT
|
||||
.BR MSG_DONTWAIT " (since Linux 2.2)"
|
||||
Enables non-blocking operation; if the operation would block,
|
||||
the call fails with the error
|
||||
.B EAGAIN
|
||||
|
@ -232,7 +232,7 @@ member of the
|
|||
.IR cmsghdr ).
|
||||
For error receives,
|
||||
the
|
||||
.B MSG_ERRQUEUE
|
||||
.BR MSG_ERRQUEUE " (since Linux 2.2)"
|
||||
is set in the
|
||||
.IR msghdr .
|
||||
After an error has been passed, the pending socket error
|
||||
|
@ -253,12 +253,12 @@ receive queue without removing that data from the queue.
|
|||
Thus, a
|
||||
subsequent receive call will return the same data.
|
||||
.TP
|
||||
.B MSG_TRUNC
|
||||
.BR MSG_TRUNC " (since Linux 2.2)"
|
||||
Return the real length of the packet, even when it was longer than
|
||||
the passed buffer.
|
||||
Only valid for packet sockets.
|
||||
.TP
|
||||
.B MSG_WAITALL
|
||||
.BR MSG_WAITALL " (since Linux 2.2)"
|
||||
This flag requests that the operation block until the full request is
|
||||
satisfied.
|
||||
However, the call may still return less data than requested if
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
.\" Modified Oct 2003 by aeb
|
||||
.\" Modified 2004-07-01 by mtk
|
||||
.\"
|
||||
.TH SEND 2 2004-07-01 "Linux" "Linux Programmer's Manual"
|
||||
.TH SEND 2 2008-07-14 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
send, sendto, sendmsg \- send a message on a socket
|
||||
.SH SYNOPSIS
|
||||
|
@ -179,7 +179,7 @@ by diagnostic or routing programs.
|
|||
This is only defined for protocol
|
||||
families that route; packet sockets don't.
|
||||
.TP
|
||||
.B MSG_DONTWAIT
|
||||
.BR MSG_DONTWAIT " (since Linux 2.2)"
|
||||
Enables non-blocking operation; if the operation would block,
|
||||
.B EAGAIN
|
||||
is returned (this can also be enabled using the
|
||||
|
@ -188,7 +188,7 @@ with the
|
|||
.B F_SETFL
|
||||
.BR fcntl (2)).
|
||||
.TP
|
||||
.B MSG_EOR
|
||||
.BR MSG_EOR " (since Linux 2.2)"
|
||||
Terminates a record (when this notion is supported, as for sockets of type
|
||||
.BR SOCK_SEQPACKET ).
|
||||
.TP
|
||||
|
@ -210,7 +210,7 @@ that does not specify this flag.
|
|||
socket option described in
|
||||
.BR udp (7).)
|
||||
.TP
|
||||
.B MSG_NOSIGNAL
|
||||
.BR MSG_NOSIGNAL " (since Linux 2.2)"
|
||||
Requests not to send
|
||||
.B SIGPIPE
|
||||
on errors on stream oriented sockets when the other end breaks the
|
||||
|
|
Loading…
Reference in New Issue