fs_mkdir()
int fs_mkdir (const char *name_full);
File | Called from | Code enabled by |
---|---|---|
| Application |
|
Create a directory.
Arguments
name_full
Name of the directory.
Returned Value
0, if the directory is created.
-1, if the directory is not created.
Notes/Warnings
None.
Example
void App_Fnct (void) { int err; . . . err = fs_mkdir("sd:0:\\data\\old"); /* Make dir. */ if (err != 0) { APP_TRACE_INFO(("Could not make dir.")); } . . . }