Function hermit_abi::read

source ·
pub unsafe extern "C" fn read(
    fd: i32,
    buf: *mut u8,
    len: usize
) -> isize
Expand description

read from a file descriptor

read() attempts to read len bytes of data from the object referenced by the descriptor fd into the buffer pointed to by buf.