.\" 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 "JOURNAL_WIPE" "" "06 October 2005" "" "" .SH NAME journal_wipe \- Wipe journal contents .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int journal_wipe (journal_t * \fIjournal\fB, int \fIwrite\fB); \fR .SH "ARGUMENTS" .TP \fB\fIjournal\fB\fR Journal to act on. .TP \fB\fIwrite\fB\fR flag (see below) .SH "DESCRIPTION" .PP Wipe out all of the contents of a journal, safely. This will produce a warning if the journal contains any valid recovery information. Must be called between journal_init_*() and \fBjournal_load\fR\&. .PP If 'write' is non-zero, then we wipe out the journal on disk; otherwise we merely suppress recovery.