next up previous contents index
Next: 7.5.5 rename: Rename a Up: 7.5 oskit_dir: Directory Interface Previous: 7.5.3 link: Link a

7.5.4 unlink: Unlink a file from this directory

 

SYNOPSIS

#include <oskit/fs/dir.h>

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

DIRECTION

client OS tex2html_wrap_inline32841 filesystem library

DESCRIPTION

This method removes the directory entry for name from d.

The name may only be a single component; multi-component lookups are not supported.

PARAMETERS

d
The directory to search.
name
The name of the file to be unlinked.

RETURNS

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



University of Utah Flux Research Group