riot_sys::bindgen

Function vfs_statvfs

Source
pub unsafe extern "C" fn vfs_statvfs(
    path: *const c_char,
    buf: *mut statvfs,
) -> c_int
Expand description

@brief Get file system status

@p path can be any path that resolves to the file system being queried, it does not have to be an existing file.

@param[in] path path to a file on the file system being queried @param[out] buf pointer to statvfs struct to fill

@return 0 on success @return <0 on error