recv.2: 'addrlen' should be 0 (*not* NULL) when 'src_addr' is NULL

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-02-11 10:32:16 +01:00
parent 5f09a92997
commit a08d6a0720
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ When
.I src_addr
is NULL, nothing is filled in; in this case,
.I addrlen
is not used, and should also be NULL.
is not used, and should also be 0.
.\" (Note: for datagram sockets in both the UNIX and Internet domains,
.\" .I src_addr
.\" is filled in.