Skip to content

Commit

Permalink
- connect(2) Clarify namelen
Browse files Browse the repository at this point in the history
PR:		206838
Submitted by:	t@tobik.me
Approved by:	bcr (mentor)
MFH:		after 1 week
Differential Revision:	https://reviews.freebsd.org/D5194
  • Loading branch information
bsdjgh committed Feb 4, 2016
1 parent a423223 commit 6c66e4f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lib/libc/sys/connect.2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 6c66e4f

Please sign in to comment.