Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys EINVAL may be returned when address family mism...



details:   https://anonhg.NetBSD.org/src/rev/7d284b946a60
branches:  trunk
changeset: 481338:7d284b946a60
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed Jan 26 10:43:36 2000 +0000

description:
EINVAL may be returned when address family mismatches. (from openbsd)

diffstat:

 lib/libc/sys/bind.2 |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r f2205188ca42 -r 7d284b946a60 lib/libc/sys/bind.2
--- a/lib/libc/sys/bind.2       Wed Jan 26 10:15:40 2000 +0000
+++ b/lib/libc/sys/bind.2       Wed Jan 26 10:43:36 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: bind.2,v 1.14 1999/12/02 21:42:36 kleink Exp $
+.\"    $NetBSD: bind.2,v 1.15 2000/01/26 10:43:36 itojun Exp $
 .\"
 .\" Copyright (c) 1983, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -90,6 +90,10 @@
 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
+.Fa 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.



Home | Main Index | Thread Index | Old Index