int fs_rmdir (const char *name_full);
File |
Called from |
Code enabled by |
|
Application |
|
Delete a directory.
name_full
Name of the file.
0, if the directory is removed.
-1, if the directory is not removed.
void App_Fnct (void) { int err; . . . err = fs_rmdir("sd:0:\\data\\old"); /* Remove dir. */ if (err != 0) { APP_TRACE_INFO(("Could not remove dir.")); } . . . } |