Module Name: src
Committed By: wiz
Date: Mon May 18 14:51:55 UTC 2009
Modified Files:
src/lib/libc/sys: getsockopt.2
Log Message:
Sort errors.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/lib/libc/sys/getsockopt.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/getsockopt.2
diff -u src/lib/libc/sys/getsockopt.2:1.31 src/lib/libc/sys/getsockopt.2:1.32
--- src/lib/libc/sys/getsockopt.2:1.31 Sun Mar 15 08:05:22 2009
+++ src/lib/libc/sys/getsockopt.2 Mon May 18 14:51:55 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: getsockopt.2,v 1.31 2009/03/15 08:05:22 joerg Exp $
+.\" $NetBSD: getsockopt.2,v 1.32 2009/05/18 14:51:55 wiz Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -351,12 +351,6 @@
The argument
.Fa s
is not a valid descriptor.
-.It Bq Er ENOTSOCK
-The argument
-.Fa s
-is a file, not a socket.
-.It Bq Er ENOPROTOOPT
-The option is unknown at the level indicated.
.It Bq Er EFAULT
The address pointed to by
.Fa optval
@@ -366,6 +360,12 @@
this error may also be returned if
.Fa optlen
is not in a valid part of the process address space.
+.It Bq Er ENOPROTOOPT
+The option is unknown at the level indicated.
+.It Bq Er ENOTSOCK
+The argument
+.Fa s
+is a file, not a socket.
.El
.Sh SEE ALSO
.Xr ioctl 2 ,