Function libzt::zts_bsd_shutdown [−][src]
pub unsafe extern "C" fn zts_bsd_shutdown(fd: c_int, how: c_int) -> c_int
Expand description
@brief Shut down some aspect of a socket
@param fd Socket file descriptor
@param how Which aspects of the socket should be shut down. Options are ZTS_SHUT_RD
,
ZTS_SHUT_WR
, or ZTS_SHUT_RDWR
.
@return ZTS_ERR_OK
if successful, ZTS_ERR_SERVICE
if the node
experiences a problem, ZTS_ERR_ARG
if invalid argument. Sets zts_errno