pub unsafe extern "C" fn vfs_sysop_stat_from_fstat(
    mountp: *mut vfs_mount_t,
    path: *const c_char,
    buf: *mut stat
) -> c_int
Expand description

@brief Implementation of stat using fstat

This helper can be used by file system drivers that do not have any more efficient implementation of fs_op::stat than opening the file and running f_op::fstat on it.

It can be set as fs_op::stat by a file system driver, provided it implements f_op::open and f_op::fstat and f_op::close, and its open accepts NULL in the abs_path position.