.\" Modified 1998,1999 by Andi Kleen
.\" 2001-06-19 corrected SO_EE_OFFENDER, bug report by James Hawtin
.\"
-.TH RECV 2 2014-05-10 "Linux" "Linux Programmer's Manual"
+.TH RECV 2 2014-08-19 "Linux" "Linux Programmer's Manual"
.SH NAME
recv, recvfrom, recvmsg \- receive a message from a socket
.SH SYNOPSIS
If the caller is not interested in the source address,
.I src_addr
-should be specified as NULL and
+and
.I addrlen
-should be specified as 0.
+should be specified as NULL.
.\"
.SS recv()
The
.B MSG_WAITALL
flags.
.SH NOTES
-The prototypes given above follow glibc2.
-The Single UNIX Specification agrees, except that it has return values
-of type \fIssize_t\fP (while 4.x BSD and libc4 and libc5 all have \fIint\fP).
-The
-.I flags
-argument is \fIint\fP in 4.x BSD, but \fIunsigned int\fP in libc4 and libc5.
The
-.I len
-argument is \fIint\fP in 4.x BSD, but \fIsize_t\fP in libc4 and libc5.
-The
-.I addrlen
-argument is \fIint\ *\fP in 4.x BSD, libc4 and libc5.
-The present \fIsocklen_t\ *\fP was invented by POSIX.
+.I socklen_t
+type was invented by POSIX.
See also
.BR accept (2).
.BR sockatmark (3),
.BR socket (7)
.SH COLOPHON
-This page is part of release 3.67 of the Linux
+This page is part of release 3.76 of the Linux
.I man-pages
project.
A description of the project,