format

Initializes the file system

int format (
    char *fs
)

Arguments

fs File system name

Return Value

1 is returned if the initialization was successful.
0 is returned in all other cases.

Explanation

The file system specified by fs is initialized.

Notes

format() is valid only for writeable file systems.