devela::_dep::rustix::net

Function shutdown

pub fn shutdown<Fd>(sockfd: Fd, how: Shutdown) -> Result<(), Errno> 
where Fd: AsFd,
Available on crate feature dep_rustix only.
Expand description

shutdown(fd, how)—Closes the read and/or write sides of a stream.

§References