Function axlibc::stat

source ·
#[no_mangle]
pub unsafe extern "C" fn stat(
    path: *const c_char,
    buf: *mut stat
) -> c_int
Available on crate feature fs only.
Expand description

Get the file metadata by path and write into buf.

Return 0 if success.