riot_sys

Function vfs_fstatvfs

Source
pub unsafe extern "C" fn vfs_fstatvfs(
    fd: c_int,
    buf: *mut statvfs,
) -> c_int
Expand description

@brief Get file system status of the file system containing an open file

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

@return 0 on success @return <0 on error