Skip to main content

xila_tcp_send

Function xila_tcp_send 

Source
pub unsafe extern "C" fn xila_tcp_send(
    socket: *mut Tcp,
    buffer: *const c_void,
    size: usize,
    count: *mut usize,
) -> Status
Expand description

Blocking direct-buffer I/O. Zero size permits null; send may be partial; receive zero means EOF.

ยงSafety

Objects must be live and calls serialized. Inputs must be readable and outputs aligned, writable and disjoint from inputs and objects. Buffers must be valid for their lengths. Owned objects must be released exactly once.