summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/rpc/bindresvport.36
-rw-r--r--lib/libc/sys/bind.26
2 files changed, 10 insertions, 2 deletions
diff --git a/lib/libc/rpc/bindresvport.3 b/lib/libc/rpc/bindresvport.3
index 7c366f8276a..8564bc7bc07 100644
--- a/lib/libc/rpc/bindresvport.3
+++ b/lib/libc/rpc/bindresvport.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bindresvport.3,v 1.16 2000/01/26 07:02:57 itojun Exp $
+.\" $OpenBSD: bindresvport.3,v 1.17 2000/01/26 08:40:15 deraadt Exp $
.\"
.Dd August 9, 1997
.Dt BINDRESVPORT 3
@@ -82,6 +82,10 @@ The specified address is not available from the local machine.
The specified address is already in use.
.It Bq Er EINVAL
The socket is already bound to an address.
+.It Bq Er EINVAL
+The family of the socket and that requested in
+.Va sa->sa_family
+are not equivalent.
.It Bq Er EACCES
The requested address is protected, and the current user
has inadequate permission to access it.
diff --git a/lib/libc/sys/bind.2 b/lib/libc/sys/bind.2
index ad560bc51d8..f77b52e2964 100644
--- a/lib/libc/sys/bind.2
+++ b/lib/libc/sys/bind.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bind.2,v 1.8 1999/06/29 14:09:50 aaron Exp $
+.\" $OpenBSD: bind.2,v 1.9 2000/01/26 08:40:14 deraadt Exp $
.\" $NetBSD: bind.2,v 1.8 1995/10/12 15:40:46 jtc Exp $
.\"
.\" Copyright (c) 1983, 1993
@@ -87,6 +87,10 @@ The specified address is not available from the local machine.
The specified address is already in use.
.It Bq Er EINVAL
The socket is already bound to an address.
+.It Bq Er EINVAL
+The family of the socket and that requested in
+.Va name->sa_family
+are not equivalent.
.It Bq Er EACCES
The requested address is protected, and the current user
has inadequate permission to access it.