Module Name:    src
Committed By:   rtr
Date:           Sun Apr  5 20:33:45 UTC 2015

Modified Files:
        src/lib/libc/sys: bind.2

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


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/lib/libc/sys/bind.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/sys/bind.2
diff -u src/lib/libc/sys/bind.2:1.27 src/lib/libc/sys/bind.2:1.28
--- src/lib/libc/sys/bind.2:1.27	Mon May 31 12:16:20 2010
+++ src/lib/libc/sys/bind.2	Sun Apr  5 20:33:45 2015
@@ -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 valid descriptor.
 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

Reply via email to