Function riot_sys::vfs_fstat

source ·
pub unsafe extern "C" fn vfs_fstat(fd: c_int, buf: *mut stat) -> c_int
Expand description

@brief Get status of an open file

@param[in] fd fd number obtained from vfs_open @param[out] buf pointer to stat struct to fill

@return 0 on success @return <0 on error