Function axlibc::shutdown

source ·
#[no_mangle]
pub unsafe extern "C" fn shutdown(
    socket_fd: c_int,
    flag: c_int
) -> c_int
Available on crate feature net only.
Expand description

Shut down a full-duplex connection.

Return 0 if success.