summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/ioctl.2
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-09-12 00:53:38 +0000
committerbdrewery <bdrewery@FreeBSD.org>2013-09-12 00:53:38 +0000
commitb3237a11f6bed062af5f93c71908030b767e256c (patch)
tree80119352dfee4aa2457193163f658d4e3f7d0a92 /lib/libc/sys/ioctl.2
parentd9412a6c2df8ef63cd5411ed888c7458f2929719 (diff)
downloadFreeBSD-src-b3237a11f6bed062af5f93c71908030b767e256c.zip
FreeBSD-src-b3237a11f6bed062af5f93c71908030b767e256c.tar.gz
Consistently reference file descriptors as "fd". 55 other manpages
used "fd", while these used "d" and "filedes". MFC after: 1 week Approved by: gjb Approved by: re (delphij)
Diffstat (limited to 'lib/libc/sys/ioctl.2')
-rw-r--r--lib/libc/sys/ioctl.212
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/sys/ioctl.2 b/lib/libc/sys/ioctl.2
index bab7b47..81500a9 100644
--- a/lib/libc/sys/ioctl.2
+++ b/lib/libc/sys/ioctl.2
@@ -29,7 +29,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 11, 2010
+.Dd September 11, 2013
.Dt IOCTL 2
.Os
.Sh NAME
@@ -40,7 +40,7 @@
.Sh SYNOPSIS
.In sys/ioctl.h
.Ft int
-.Fn ioctl "int d" "unsigned long request" ...
+.Fn ioctl "int fd" "unsigned long request" ...
.Sh DESCRIPTION
The
.Fn ioctl
@@ -51,7 +51,7 @@ may be controlled with
.Fn ioctl
requests.
The argument
-.Fa d
+.Fa fd
must be an open file descriptor.
.Pp
The third argument to
@@ -116,19 +116,19 @@ will fail if:
.Bl -tag -width Er
.It Bq Er EBADF
The
-.Fa d
+.Fa fd
argument
is not a valid descriptor.
.It Bq Er ENOTTY
The
-.Fa d
+.Fa fd
argument
is not associated with a character
special device.
.It Bq Er ENOTTY
The specified request does not apply to the kind
of object that the descriptor
-.Fa d
+.Fa fd
references.
.It Bq Er EINVAL
The
OpenPOWER on IntegriCloud