.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "DEV_IOCTL" "9" "09 October 2005" "" ""
.SH NAME
dev_ioctl \- network device ioctl
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int dev_ioctl (unsigned int \fIcmd\fB, void __user * \fIarg\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIcmd\fB\fR
command to issue
.TP
\fB\fIarg\fB\fR
pointer to a struct ifreq in user space
.SH "DESCRIPTION"
.PP
Issue ioctl functions to devices. This is normally called by the
user space syscall interfaces but can sometimes be useful for
other purposes. The return value is the return from the syscall if
positive or a negative errno code on error.