Function riot_sys::vfs_file_get

source ·
pub unsafe extern "C" fn vfs_file_get(fd: c_int) -> *const vfs_file_t
Expand description

@brief Get information about the file for internal purposes

@attention Not thread safe! Do not modify any of the fields in the returned struct. @note For file descriptor internal usage only.

@internal @param[in] fd A file descriptor

@return Pointer to the file information struct if a file with @p fd exists. @return NULL, when no file with file descriptor @p fd exists.