next up previous contents index
Next: 7.5.7 rmdir: Remove a Up: 7.5 oskit_dir: Directory Interface Previous: 7.5.5 rename: Rename a

7.5.6 mkdir: Create a subdirectory in this directory

 

SYNOPSIS

#include <oskit/fs/dir.h>

oskit_error_t oskit_dir_mkdir(oskit_dir_t *d, const char *name, oskit_mode_t mode);

DIRECTION

client OS tex2html_wrap_inline32841 filesystem library

DESCRIPTION

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.

PARAMETERS

dir
The directory in which to create the subdirectory.
name
The name of the new subdirectory.
mode
The mode for the new subdirectory.

RETURNS

Returns 0 on success, or an error code specified in <oskit/error.h>, on error.



University of Utah Flux Research Group