<< Previous | Next >>

fsck (FS1)

int fsck( int flash );

Description

Check the filesystem for errors

Parameters

flash
A bitmask indicating which checks to NOT perform. The following checks are available:

FSCK_HEADERS - Block headers.
FSCK_CHECKSUMS - Data checksums.
FSCK_VERSION - Block versions, from a failed write.


Return Value

 0: Success.
!0: Failure, this is a bitmask indicating which checks failed.

Library

FILESYSTEM.LIB


Dynamic C Functions << Previous | Next >> rabbit.com