mirror of https://github.com/mkerrisk/man-pages
recv.2: CONFORMING TO: add POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
9c9c8ad106
commit
b269be768d
12
man2/recv.2
12
man2/recv.2
|
@ -441,7 +441,7 @@ see their manual pages.
|
|||
The socket is marked nonblocking and the receive operation
|
||||
would block, or a receive timeout had been set and the timeout expired
|
||||
before data was received.
|
||||
POSIX.1-2001 allows either error to be returned for this case,
|
||||
POSIX.1 allows either error to be returned for this case,
|
||||
and does not require these constants to have the same value,
|
||||
so a portable application should check for both possibilities.
|
||||
.TP
|
||||
|
@ -483,10 +483,10 @@ The argument
|
|||
.I sockfd
|
||||
does not refer to a socket.
|
||||
.SH CONFORMING TO
|
||||
4.4BSD (these interfaces first appeared in 4.2BSD),
|
||||
POSIX.1-2001.
|
||||
POSIX.1-2001, POSIX.1-2008,
|
||||
4.4BSD (these interfaces first appeared in 4.2BSD).
|
||||
.LP
|
||||
POSIX.1-2001 describes only the
|
||||
POSIX.1 describes only the
|
||||
.BR MSG_OOB ,
|
||||
.BR MSG_PEEK ,
|
||||
and
|
||||
|
@ -499,7 +499,9 @@ type was invented by POSIX.
|
|||
See also
|
||||
.BR accept (2).
|
||||
|
||||
According to POSIX.1-2001, the
|
||||
According to POSIX.1,
|
||||
.\" POSIX.1-2001, POSIX.1-2008
|
||||
the
|
||||
.I msg_controllen
|
||||
field of the
|
||||
.I msghdr
|
||||
|
|
Loading…
Reference in New Issue