diff options
author | roam <roam@FreeBSD.org> | 2003-09-05 15:41:52 +0000 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2003-09-05 15:41:52 +0000 |
commit | 8106d775c19fa04e65187624dbeea6626a3ab519 (patch) | |
tree | 01840489b5dce1e4a1433495e8f16e862d65e4c7 /lib/libc | |
parent | 3a2d1f68230d5564f43559d62bb9fc5f801180f5 (diff) | |
download | FreeBSD-src-8106d775c19fa04e65187624dbeea6626a3ab519.zip FreeBSD-src-8106d775c19fa04e65187624dbeea6626a3ab519.tar.gz |
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
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/accept.2 | 8 |
1 files changed, 7 insertions, 1 deletions
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 |