next up previous contents index
Next: 7.5.11 reparent: Create a Up: 7.5 oskit_dir: Directory Interface Previous: 7.5.9 mknod: Create a

7.5.10 symlink: Create a symbolic link in this directory

 

SYNOPSIS

#include <oskit/fs/dir.h>

oskit_error_t oskit_dir_symlink(oskit_dir_t *d, const char *link_name, char *dest_name);

DIRECTION

client OS tex2html_wrap_inline32841 filesystem library

DESCRIPTION

This method creates a symbolic link in this directory, named link_name, with contents dest_name.

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

PARAMETERS

d
The directory in which to create the symlink.
link_name
The name of the new symlink.
dest_name
The contents of the new symlink.

RETURNS

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



University of Utah Flux Research Group