.\" 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 "PMDISK_WRITE" "" "06 October 2005" "" "" .SH NAME pmdisk_write \- Write saved memory image to swap. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int pmdisk_write ( \fIvoid\fB); \fR .SH "ARGUMENTS" .TP \fB\fIvoid\fB\fR no arguments .SH "DESCRIPTION" .PP .PP pmdisk_arch_suspend(0) returns after system is resumed. .PP \fBpmdisk_arch_suspend\fR copies all ``used'' memory to ``free'' memory, then unsuspends all device drivers, and writes memory to disk using normal kernel mechanism.