recv.2: 'addrlen' should be NULL (not 0) if we don't need sender address

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-07-24 17:39:40 +02:00
parent b18ea63300
commit e77c5c7431
1 changed files with 2 additions and 2 deletions

View File

@ -279,9 +279,9 @@ will return a value greater than was supplied to the call.
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