ioctl.2: 'request' argument is typed as 'unsigned long' in glibc

See https://bugzilla.kernel.org/show_bug.cgi?id=42705

Reported-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reported-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-11-08 06:35:29 +13:00
parent ef3fbada32
commit 82f955d28a
1 changed files with 4 additions and 2 deletions

View File

@ -38,13 +38,15 @@
.\" 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 ()