int fs_rmdir (const char *name_full);
File | Called from | Code enabled by |
---|---|---|
| Application |
|
Delete a directory.
Arguments
name_full
Name of the file.
Returned Value
0, if the directory is removed.
-1, if the directory is not removed.
Notes/Warnings
- A directory can be removed only if it is an empty directory.
- The root directory cannot be removed.