axlibc

Function read

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn read(
    fd: c_int,
    buf: *mut c_void,
    count: usize,
) -> ssize_t
Expand description

Read data from the file indicated by fd.

Return the read size if success.