pub unsafe extern "C" fn storage_dir_open(
file: *mut File,
path: *const c_char,
) -> bool
Expand description
Open a directory.
Opening a directory is necessary to be able to read its contents with storage_dir_read().
The calling code MUST call storage_dir_close() even if the open operation had failed.
§Arguments
file
- pointer to a file instance representing the directory in question.path
- pointer to a zero-terminated string containing the path of the directory in question.
§Returns
true if the directory was successfully opened, false otherwise.