Function riot_sys::vfs_opendir

source ·
pub unsafe extern "C" fn vfs_opendir(
    dirp: *mut vfs_DIR,
    dirname: *const c_char
) -> c_int
Expand description

@brief Open a directory for reading with readdir

The data in @c *dirp will be initialized by @c vfs_opendir

@param[out] dirp pointer to directory stream struct for storing the state @param[in] dirname null-terminated name of the dir to open, absolute file system path

@return 0 on success @return <0 on error