Function libzt::zts_get_blocking[][src]

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

@brief Return whether blocking mode O_NONBLOCK 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