Clarify that the second argument to accept() may be a null pointer if

no peer address information is desired.

PR:		56044
Submitted by:	Felix Opatz <felix@zotteljedi.de> and
		Bernd Luevelsmeyer <bdluevel@heitec.net>
MFC after:	1 month
This commit is contained in:
roam 2003-09-05 15:41:52 +00:00
parent 724a258ac9
commit 5c08296b92

View File

@ -86,7 +86,13 @@ The exact format of the
.Fa addr
argument is determined by the domain in which the communication
is occurring.
The
A null pointer may be specified for
.Fa addr
if the address information is not desired;
in this case,
.Fa addrlen
is not used and should also be null.
Otherwise, the
.Fa addrlen
argument
is a value-result argument; it should initially contain the