#include <oskit/fs/filesystem.h>oskit_error_t oskit_filesystem_getroot(oskit_filesystem_t *f, [out] oskit_dir_t **out_dir);
client OS filesystem library
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.
- f
- The filesystem whose root directory is desired.
- out_dir
- The oskit_dir COM interface for the root directory.
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.