Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/sys Note that bind(2) can fail with EAFNOSUPPORT. ...



details:   https://anonhg.NetBSD.org/src/rev/b22726de5386
branches:  trunk
changeset: 807322:b22726de5386
user:      rtr <rtr%NetBSD.org@localhost>
date:      Sun Apr 05 20:33:45 2015 +0000

description:
Note that bind(2) can fail with EAFNOSUPPORT.  The description of why is
taken from the connect(2) manpage.

diffstat:

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

diffs (18 lines):

diff -r 81b5ca61017e -r b22726de5386 lib/libc/sys/bind.2
--- a/lib/libc/sys/bind.2       Sun Apr 05 20:26:47 2015 +0000
+++ b/lib/libc/sys/bind.2       Sun Apr 05 20:33:45 2015 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: bind.2,v 1.27 2010/05/31 12:16:20 njoly Exp $
+.\"    $NetBSD: bind.2,v 1.28 2015/04/05 20:33:45 rtr Exp $
 .\"
 .\" Copyright (c) 1983, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -85,6 +85,8 @@
 is not a socket.
 .It Bq Er EADDRNOTAVAIL
 The specified address is not available from the local machine.
+.It Bq Er EAFNOSUPPORT
+Addresses in the specified address family cannot be used with this socket.
 .It Bq Er EADDRINUSE
 The specified address is already in use.
 .It Bq Er EINVAL



Home | Main Index | Thread Index | Old Index