riot_sys

Function vfs_closedir

Source
pub unsafe extern "C" fn vfs_closedir(dirp: *mut vfs_DIR) -> c_int
Expand description

@brief Close an open directory

@attention Calling vfs_closedir on an uninitialized @c vfs_DIR is forbidden and may lead to file system corruption and random system failures.

@param[in] dirp pointer to open directory

@return 0 on success @return <0 on error, the directory stream dirp should be considered invalid