#include <oskit/fs/dir.h>oskit_error_t oskit_dir_lookup(oskit_dir_t *d, const char *name, [out] oskit_file_t **out_file);
client OSfilesystem library
This method returns the oskit_file COM interface for the file named by name in this directory. The name may only be a single component; multi-component lookups are not supported. If the file is a symbolic link, then out_file will reference the symbolic link itself.
- d
- The directory to search.
- name
- The name of the file.
- out_file
- The oskit_file COM interface for the file.
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.