Function arceos_posix_api::sys_shutdown
source · pub fn sys_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.