.\" 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 "WDRTAS_IOCTL" "9" "09 October 2005" "" "" .SH NAME wdrtas_ioctl \- ioctl function for the watchdog device .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int wdrtas_ioctl (struct inode * \fIinode\fB, struct file * \fIfile\fB, unsigned int \fIcmd\fB, unsigned long \fIarg\fB); \fR .SH "ARGUMENTS" .TP \fB\fIinode\fB\fR inode structure .TP \fB\fIfile\fB\fR file structure .TP \fB\fIcmd\fB\fR command for ioctl .TP \fB\fIarg\fB\fR argument pointer .SH "DESCRIPTION" .PP returns 0 on success, <0 on failure .PP wdrtas_ioctl implements the watchdog API ioctls