- 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
This commit is contained in:
jgh 2016-02-04 18:03:06 +00:00
parent a4232236fc
commit 6c66e4feff

View File

@ -28,7 +28,7 @@
.\" @(#)connect.2 8.1 (Berkeley) 6/4/93 .\" @(#)connect.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd September 29, 2014 .Dd February 4, 2016
.Dt CONNECT 2 .Dt CONNECT 2
.Os .Os
.Sh NAME .Sh NAME
@ -58,6 +58,14 @@ another socket.
The other socket is specified by The other socket is specified by
.Fa name , .Fa name ,
which is an address in the communications space of the socket. 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 Each communications space interprets the
.Fa name .Fa name
argument in its own way. argument in its own way.