OSDN Git Service

(split) LDP: Update original to LDP v3.65
[linuxjm/LDP_man-pages.git] / original / man2 / ioctl.2
index 3d7a11c..665c11e 100644 (file)
 .\" Modified 1999-06-25 by Rachael Munns <vashti@dream.org.uk>
 .\" Modified 2000-09-21 by Andries Brouwer <aeb@cwi.nl>
 .\"
-.TH IOCTL 2 2000-09-21 "Linux" "Linux Programmer's Manual"
+.TH IOCTL 2 2013-11-08 "Linux" "Linux Programmer's Manual"
 .SH NAME
 ioctl \- control device
 .SH SYNOPSIS
 .B #include <sys/ioctl.h>
 .sp
-.BI "int ioctl(int " d ", int " request ", ...);"
+.BI "int ioctl(int " d ", 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
 The
 .BR ioctl ()
@@ -145,3 +147,11 @@ flag.
 .\" .BR mt (4),
 .BR sd (4),
 .BR tty (4)
+.SH COLOPHON
+This page is part of release 3.65 of the Linux
+.I man-pages
+project.
+A description of the project,
+and information about reporting bugs,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.