<< Previous | Next >> | |
|
int fs_init( long reserveblocks, int num_blocks );
Description
- Initialize the internal data structures for an existing file system. Blocks that are used by a file are preserved and checked for data integrity.
Parameters
- reserveblocks
- Starting address of the flash file system. When
FS_FLASH
is defined this value should be 0 or a multiple of the block size. WhenFS_RAM
is defined this parameter is ignored.
- num_blocks
- The number of blocks that the file system contains. By default the block size is 4096 bytes.
Return Value
0
:Success.
1
: Failure.Library
- FILESYSTEM.LIB
Dynamic C Functions | << Previous | Next >> | rabbit.com |