Module Name: src
Committed By: wiz
Date: Sun Dec 19 22:19:27 UTC 2010
Modified Files:
src/lib/libc/sys: ioctl.2
Log Message:
Remove trailing whitespace; sort errors; spell "variadic" like
Wikipedia or GNU libc.
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/libc/sys/ioctl.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/ioctl.2
diff -u src/lib/libc/sys/ioctl.2:1.22 src/lib/libc/sys/ioctl.2:1.23
--- src/lib/libc/sys/ioctl.2:1.22 Sun Dec 19 16:54:10 2010
+++ src/lib/libc/sys/ioctl.2 Sun Dec 19 22:19:27 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: ioctl.2,v 1.22 2010/12/19 16:54:10 christos Exp $
+.\" $NetBSD: ioctl.2,v 1.23 2010/12/19 22:19:27 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -62,9 +62,9 @@
.Dq out ,
or
.Dq inout
-parameter, and the size of the first varyadic argument
+parameter, and the size of the first variadic argument
in bytes.
-Note that there can be only one varyadic argument but cannot be represented as
+Note that there can be only one variadic argument but cannot be represented as
a
.Ft "void *"
argument in the prototype because this would require a cast to pass integral
@@ -93,7 +93,7 @@
.It Dv FIONCLEX
Clear close-on-exec flag.
The file will remain open across
-.Xr exec 3
+.Xr exec 3
(This is equivalent to
.Fn fcntl
.Dv F_SETFD
@@ -174,7 +174,7 @@
(This is equivalent to
.Fn fcntl
.Dv F_SETOWN
-.Ft pid_t
+.Ft pid_t
and the
.Ft fcntl
form should be preferred).
@@ -190,23 +190,22 @@
.It Bq Er EBADF
.Fa d
is not a valid descriptor.
+.It Bq Er EFAULT
+.Fa argp
+points outside the process's allocated address space.
+.It Bq Er EINVAL
+.Fa request
+or
+.Fa argp
+is not valid.
.It Bq Er ENOTTY
.Fa d
is not associated with a character
-special device.
-.It Bq Er ENOTTY
-The specified request does not apply to the kind
+special device; or
+the specified request does not apply to the kind
of object that the descriptor
.Fa d
references.
-.It Bq Er EINVAL
-.Fa request
-or
-.Fa argp
-is not valid.
-.It Bq Er EFAULT
-.Fa argp
-points outside the process's allocated address space.
.El
.Sh SEE ALSO
.Xr mt 1 ,