Function libzt::zts_get_last_socket_error[][src]

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

@brief Get the last error for the given socket

@param fd Socket file descriptor @return Error number defined in zts_errno_t. ZTS_ERR_SERVICE if the node experiences a problem, ZTS_ERR_ARG if invalid argument. Sets zts_errno