fs_fopen()
FS_FILE *fs_fopen (const char *name_full, const char *str_mode);
File | Called from | Code enabled by |
---|---|---|
| Application |
|
Open a file.
Arguments
name_full
Name of the file. See Useful Information for information about file names.
str_mode
Access mode of the file.
Returned Value
Pointer to a file, if NO errors.
Pointer to NULL, otherwise.
Notes/Warnings
- The access mode should be one of the strings shown in table Opening, Reading and Writing Files - POSIX”.
- The character ‘b’ has no effect.
- Opening a file with read mode fails if the file does not exist.
- Opening a file with append mode causes all writes to be forced to the end-of-file.