diff options
author | jgh <jgh@FreeBSD.org> | 2016-02-04 18:03:06 +0000 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2016-02-04 18:03:06 +0000 |
commit | 6c66e4feff3a0557cfef7a815c48885d2e8465e7 (patch) | |
tree | ce760717af91c8b563038c8810cd7eaf62f5af8b /lib/libc | |
parent | a4232236fc1def9db170b2b0c3f27704b202f294 (diff) | |
download | FreeBSD-src-6c66e4feff3a0557cfef7a815c48885d2e8465e7.zip FreeBSD-src-6c66e4feff3a0557cfef7a815c48885d2e8465e7.tar.gz |
- connect(2) Clarify namelen
PR: 206838
Submitted by: t@tobik.me
Approved by: bcr (mentor)
MFH: after 1 week
Differential Revision: https://reviews.freebsd.org/D5194
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/connect.2 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libc/sys/connect.2 b/lib/libc/sys/connect.2 index e3e5783..80f4407 100644 --- a/lib/libc/sys/connect.2 +++ b/lib/libc/sys/connect.2 @@ -28,7 +28,7 @@ .\" @(#)connect.2 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd September 29, 2014 +.Dd February 4, 2016 .Dt CONNECT 2 .Os .Sh NAME @@ -58,6 +58,14 @@ another socket. The other socket is specified by .Fa name , which is an address in the communications space of the socket. +.Fa namelen +indicates the amount of space pointed to by +.Fa name , +in bytes; the +.Fa sa_len +member of +.Fa name +is ignored. Each communications space interprets the .Fa name argument in its own way. |