Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/sys Sort errors. Bump date for previous.



details:   https://anonhg.NetBSD.org/src/rev/9906275ca97d
branches:  trunk
changeset: 337182:9906275ca97d
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Apr 05 20:41:05 2015 +0000

description:
Sort errors. Bump date for previous.

diffstat:

 lib/libc/sys/bind.2 |  53 ++++++++++++++++++++++++++---------------------------
 1 files changed, 26 insertions(+), 27 deletions(-)

diffs (98 lines):

diff -r a16283687103 -r 9906275ca97d lib/libc/sys/bind.2
--- a/lib/libc/sys/bind.2       Sun Apr 05 20:34:00 2015 +0000
+++ b/lib/libc/sys/bind.2       Sun Apr 05 20:41:05 2015 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: bind.2,v 1.28 2015/04/05 20:33:45 rtr Exp $
+.\"    $NetBSD: bind.2,v 1.29 2015/04/05 20:41:05 wiz Exp $
 .\"
 .\" Copyright (c) 1983, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)bind.2     8.1 (Berkeley) 6/4/93
 .\"
-.Dd August 30, 2005
+.Dd April 5, 2015
 .Dt BIND 2
 .Os
 .Sh NAME
@@ -77,40 +77,43 @@
 .Fn bind
 call will fail if:
 .Bl -tag -width Er
-.It Bq Er EBADF
-.Fa s
-is not a valid descriptor.
-.It Bq Er ENOTSOCK
-.Fa s
-is not a socket.
+.It Bq Er EACCES
+The requested address is protected, and the current user
+has inadequate permission to access it.
+.It Bq Er EADDRINUSE
+The specified address is already in use.
 .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
-The socket is already bound to an address.
-.It Bq Er EINVAL
-The family of the socket and that requested in
-.Fa name-\*[Gt]sa_family
-are not equivalent.
-.It Bq Er EACCES
-The requested address is protected, and the current user
-has inadequate permission to access it.
+.It Bq Er EBADF
+.Fa s
+is not a valid descriptor.
 .It Bq Er EFAULT
 The
 .Fa name
 parameter is not in a valid part of the user
 address space.
+.It Bq Er EINVAL
+The socket is already bound to an address; or
+the family of the socket and that requested in
+.Fa name-\*[Gt]sa_family
+are not equivalent.
+.It Bq Er ENOTSOCK
+.Fa s
+is not a socket.
 .El
 .Pp
 The following errors are specific to binding names in the
 .Ux
 domain.
 .Bl -tag -width Er
-.It Bq Er ENOTDIR
-A component of the path prefix is not a directory.
+.It Bq Er EIO
+An I/O error occurred while making the directory entry or allocating the inode.
+.It Bq Er EISDIR
+An empty pathname was specified.
+.It Bq Er ELOOP
+Too many symbolic links were encountered in translating the pathname.
 .It Bq Er ENAMETOOLONG
 A component of a pathname exceeded
 .Brq Dv NAME_MAX
@@ -119,14 +122,10 @@
 characters.
 .It Bq Er ENOENT
 A prefix component of the path name does not exist.
-.It Bq Er ELOOP
-Too many symbolic links were encountered in translating the pathname.
-.It Bq Er EIO
-An I/O error occurred while making the directory entry or allocating the inode.
+.It Bq Er ENOTDIR
+A component of the path prefix is not a directory.
 .It Bq Er EROFS
 The name would reside on a read-only file system.
-.It Bq Er EISDIR
-An empty pathname was specified.
 .El
 .Sh SEE ALSO
 .Xr connect 2 ,



Home | Main Index | Thread Index | Old Index