From 8106d775c19fa04e65187624dbeea6626a3ab519 Mon Sep 17 00:00:00 2001 From: roam Date: Fri, 5 Sep 2003 15:41:52 +0000 Subject: 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 and Bernd Luevelsmeyer MFC after: 1 month --- lib/libc/sys/accept.2 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lib/libc') diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2 index 2f86735..e2e3e05 100644 --- a/lib/libc/sys/accept.2 +++ b/lib/libc/sys/accept.2 @@ -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 -- cgit v1.1