axlibc

Function write

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

Write data to the file indicated by fd.

Return the written size if success.