mirror of https://github.com/mkerrisk/man-pages
Put 'flags' list in alphabetical order.
This commit is contained in:
parent
a28ed21cec
commit
512c311c5e
42
man2/recv.2
42
man2/recv.2
|
@ -122,27 +122,6 @@ call is formed by
|
|||
.IR OR 'ing
|
||||
one or more of the following values:
|
||||
.TP
|
||||
.B MSG_OOB
|
||||
This flag requests receipt of out-of-band data that would not be received
|
||||
in the normal data stream. Some protocols place expedited data
|
||||
at the head of the normal data queue, and thus this flag cannot
|
||||
be used with such protocols.
|
||||
.TP
|
||||
.B MSG_PEEK
|
||||
This flag causes the receive operation to return data from the beginning of the
|
||||
receive queue without removing that data from the queue. Thus, a
|
||||
subsequent receive call will return the same data.
|
||||
.TP
|
||||
.B MSG_WAITALL
|
||||
This flag requests that the operation block until the full request is
|
||||
satisfied. However, the call may still return less data than requested if
|
||||
a signal is caught, an error or disconnect occurs, or the next data to be
|
||||
received is of a different type than that returned.
|
||||
.TP
|
||||
.B MSG_TRUNC
|
||||
Return the real length of the packet, even when it was longer than
|
||||
the passed buffer. Only valid for packet sockets.
|
||||
.TP
|
||||
.B MSG_ERRQUEUE
|
||||
This flag
|
||||
specifies that queued errors should be received from the socket error queue.
|
||||
|
@ -235,6 +214,27 @@ is set in the
|
|||
After an error has been passed, the pending socket error
|
||||
is regenerated based on the next queued error and will be passed
|
||||
on the next socket operation.
|
||||
.TP
|
||||
.B MSG_OOB
|
||||
This flag requests receipt of out-of-band data that would not be received
|
||||
in the normal data stream. Some protocols place expedited data
|
||||
at the head of the normal data queue, and thus this flag cannot
|
||||
be used with such protocols.
|
||||
.TP
|
||||
.B MSG_PEEK
|
||||
This flag causes the receive operation to return data from the beginning of the
|
||||
receive queue without removing that data from the queue. Thus, a
|
||||
subsequent receive call will return the same data.
|
||||
.TP
|
||||
.B MSG_TRUNC
|
||||
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
|
||||
This flag requests that the operation block until the full request is
|
||||
satisfied. However, the call may still return less data than requested if
|
||||
a signal is caught, an error or disconnect occurs, or the next data to be
|
||||
received is of a different type than that returned.
|
||||
.PP
|
||||
The
|
||||
.BR recvmsg ()
|
||||
|
|
Loading…
Reference in New Issue