svn commit: r295272 - head/lib/libc/sys
Jason Helfman
jgh at FreeBSD.org
Thu Feb 4 18:03:07 UTC 2016
Author: jgh (doc,ports committer)
Date: Thu Feb 4 18:03:06 2016
New Revision: 295272
URL: https://svnweb.freebsd.org/changeset/base/295272
Log:
- connect(2) Clarify namelen
PR: 206838
Submitted by: t at tobik.me
Approved by: bcr (mentor)
MFH: after 1 week
Differential Revision: https://reviews.freebsd.org/D5194
Modified:
head/lib/libc/sys/connect.2
Modified: head/lib/libc/sys/connect.2
==============================================================================
--- head/lib/libc/sys/connect.2 Thu Feb 4 17:43:56 2016 (r295271)
+++ head/lib/libc/sys/connect.2 Thu Feb 4 18:03:06 2016 (r295272)
@@ -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.
More information about the svn-src-all
mailing list