aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2012-12-20 17:02:27 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2012-12-20 17:04:43 +0100
commita25601b48b822eb1882ae336574b8d062a17e564 (patch)
tree450bec07a6023d1184da5a36de185f88305dbd89
parent35d740b95e799f44543fa044db9bbf68162d4bcb (diff)
downloadman-pages-a25601b48b822eb1882ae336574b8d062a17e564.tar.gz
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>
-rw-r--r--man2/recv.24
1 files changed, 2 insertions, 2 deletions
diff --git a/man2/recv.2 b/man2/recv.2
index f0879af0cb..f58d9c6cb7 100644
--- a/man2/recv.2
+++ b/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 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