.\" Modified 1999-06-25 by Rachael Munns <vashti@dream.org.uk>
.\" Modified 2000-09-21 by Andries Brouwer <aeb@cwi.nl>
.\"
-.TH IOCTL 2 2013-11-08 "Linux" "Linux Programmer's Manual"
+.TH IOCTL 2 2014-12-31 "Linux" "Linux Programmer's Manual"
.SH NAME
ioctl \- control device
.SH SYNOPSIS
.B #include <sys/ioctl.h>
.sp
-.BI "int ioctl(int " d ", unsigned long " request ", ...);"
+.BI "int ioctl(int " fd ", unsigned long " request ", ...);"
.\" POSIX says 'request' is int, but glibc has the above
.\" See https://bugzilla.kernel.org/show_bug.cgi?id=42705
.SH DESCRIPTION
.BR ioctl ()
requests.
The argument
-.I d
+.I fd
must be an open file descriptor.
.PP
The second argument is a device-dependent request code.
.SH ERRORS
.TP 0.7i
.B EBADF
-.I d
+.I fd
is not a valid descriptor.
.TP
.B EFAULT
is not valid.
.TP
.B ENOTTY
-.I d
+.I fd
is not associated with a character special device.
.TP
.B ENOTTY
The specified request does not apply to the kind of object that the
descriptor
-.I d
+.I fd
references.
.SH CONFORMING TO
No single standard.
.BR sd (4),
.BR tty (4)
.SH COLOPHON
-This page is part of release 3.75 of the Linux
+This page is part of release 3.76 of the Linux
.I man-pages
project.
A description of the project,