Function libax::cbindings::ax_write

source ·
#[no_mangle]
pub unsafe extern "C" fn ax_write(
    fd: c_int,
    buf: *const c_void,
    count: usize
) -> isize
Available on crate features alloc and cbindings only.
Expand description

Write data to the file indicated by fd.

Return the written size if success.