<< Previous | Next >> | |
|
int fcreate( File* f, FileNumber fnum );
Description
- Creates a file. Before calling this function, a variable of type
File
must be defined in the application program.File file;
fcreate (&file, 1);Parameters
- f
- The pointer to the created file.
- fnum
- This is a user-defined number in the range of 1 to127 inclusive. Each file in the flash file system is assigned a unique number in this range.
Return value
0
: Success.
1
: Failure.Library
- FILESYSTEM.LIB
Dynamic C Functions | << Previous | Next >> | rabbit.com |