next up previous contents index
Next: 7.3.4 remount: Update the Up: 7.3 oskit_filesystem: File System Previous: 7.3.2 sync: Synchronize in-core

7.3.3 getroot: Return a reference to the root directory of this filesystem

 

SYNOPSIS

#include <oskit/fs/filesystem.h>

oskit_error_t oskit_filesystem_getroot(oskit_filesystem_t *f, [out] oskit_dir_t **out_dir);

DIRECTION

client OS tex2html_wrap_inline32841 filesystem library

DESCRIPTION

This method returns a reference to the root directory of this filesystem. out_dir is a pointer to the oskit_dir COM interface for the root directory.

PARAMETERS

f
The filesystem whose root directory is desired.
out_dir
The oskit_dir COM interface for the root directory.

RETURNS

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



University of Utah Flux Research Group