#include <oskit/fs/dir.h>oskit_error_t oskit_dir_mkdir(oskit_dir_t *d, const char *name, oskit_mode_t mode);
client OSfilesystem library
This method creates a new subdirectory in this directory, with the specified name and mode.The name may only be a single component; multi-component lookups are not supported.
- dir
- The directory in which to create the subdirectory.
- name
- The name of the new subdirectory.
- mode
- The mode for the new subdirectory.
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.