.\" 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 "HANDLE_POWEROFF" "" "06 October 2005" "" ""
.SH NAME
handle_poweroff \- sysrq callback for power down
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void handle_poweroff (int \fIkey\fB, struct pt_regs * \fIpt_regs\fB, struct tty_struct * \fItty\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIkey\fB\fR
key pressed (unused)
.TP
\fB\fIpt_regs\fB\fR
register state (unused)
.TP
\fB\fItty\fB\fR
tty involved (unused)
.SH "DESCRIPTION"
.PP
When the user hits Sys-Rq o to power down the machine this is the
callback we use.