mirror of https://github.com/mkerrisk/man-pages
recv.2: UNIX domain sockets support MSG_TRUNC since 3.4
Reported-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
35d740b95e
commit
a25601b48b
|
@ -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 2011-09-16 "Linux" "Linux Programmer's Manual"
|
||||
.TH RECV 2 2012-12-21 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
recv, recvfrom, recvmsg \- receive a message from a socket
|
||||
.SH SYNOPSIS
|
||||
|
@ -264,7 +264,7 @@ subsequent receive call will return the same data.
|
|||
For raw
|
||||
.RB ( AF_PACKET ),
|
||||
Internet datagram (since Linux 2.4.27/2.6.8),
|
||||
and netlink (since Linux 2.6.22) sockets:
|
||||
netlink (since Linux 2.6.22) and UNIX datagram (since Linux 3.4) sockets:
|
||||
return the real length of the packet or datagram,
|
||||
even when it was longer than the passed buffer.
|
||||
Not implemented for UNIX domain
|
||||
|
|
Loading…
Reference in New Issue