summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/bind.26
-rw-r--r--lib/libc/sys/connect.26
2 files changed, 10 insertions, 2 deletions
diff --git a/lib/libc/sys/bind.2 b/lib/libc/sys/bind.2
index 75033392221..4c5ba92c07f 100644
--- a/lib/libc/sys/bind.2
+++ b/lib/libc/sys/bind.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bind.2,v 1.10 2000/10/18 05:12:08 aaron Exp $
+.\" $OpenBSD: bind.2,v 1.11 2003/03/18 00:58:39 millert Exp $
.\" $NetBSD: bind.2,v 1.8 1995/10/12 15:40:46 jtc Exp $
.\"
.\" Copyright (c) 1983, 1993
@@ -55,6 +55,10 @@ it exists in a name space (address family) but has no name assigned.
requests that
.Fa name
be assigned to the socket.
+.Fa namelen
+indicates the amount of space pointed to by
+.Fa name ,
+in bytes.
.Sh NOTES
Binding a name in the UNIX domain creates a socket in the file
system that must be deleted by the caller when it is no longer
diff --git a/lib/libc/sys/connect.2 b/lib/libc/sys/connect.2
index faf95a3913c..f6b5c2c333b 100644
--- a/lib/libc/sys/connect.2
+++ b/lib/libc/sys/connect.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: connect.2,v 1.14 1999/08/15 13:14:11 deraadt Exp $
+.\" $OpenBSD: connect.2,v 1.15 2003/03/18 00:58:39 millert Exp $
.\" $NetBSD: connect.2,v 1.8 1995/10/12 15:40:48 jtc Exp $
.\"
.\" Copyright (c) 1983, 1993
@@ -61,6 +61,10 @@ 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.
Each communications space interprets the
.Fa name
parameter in its own way.