pub unsafe extern "C" fn xila_tcp_shutdown(
socket: *mut Tcp,
direction: u32,
) -> StatusExpand description
Gracefully shut down writing. Only XILA_SHUTDOWN_WRITE is supported; reads remain valid.
ยง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.