next up previous contents index
Next: 7.5.8 getdirentries: Read one Up: 7.5 oskit_dir: Directory Interface Previous: 7.5.6 mkdir: Create a

7.5.7 rmdir: Remove a subdirectory from this directory

 

SYNOPSIS

#include <oskit/fs/dir.h>

oskit_error_t oskit_dir_rmdir(oskit_dir_t *d, const char *name);

DIRECTION

client OS tex2html_wrap_inline32841 filesystem library

DESCRIPTION

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.

PARAMETERS

dir
The directory in which the subdirectory resides.
name
The name of the subdirectory.

RETURNS

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



University of Utah Flux Research Group