#include <oskit/fs/dir.h>oskit_error_t oskit_dir_rmdir(oskit_dir_t *d, const char *name);
client OSfilesystem library
This method removes the subdirectory named name from this directory. Typically, this is only supported if the subdirectory is empty.The name may only be a single component; multi-component lookups are not supported.
- dir
- The directory in which the subdirectory resides.
- name
- The name of the subdirectory.
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.