Function hermit_abi::write

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

write to a file descriptor

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