Function axlibc::fstat

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

Get file metadata by fd and write into buf.

Return 0 if success.