Function libzt::zts_get_linger_enabled[][src]

pub unsafe extern "C" fn zts_get_linger_enabled(fd: c_int) -> c_int
Expand description

@brief Return whether SO_LINGER is enabled

@param fd Socket file descriptor @return 1 if enabled, 0 if disabled, ZTS_ERR_SERVICE if the node experiences a problem, ZTS_ERR_ARG if invalid argument. Sets zts_errno