Function libzt::zts_get_data_available[][src]

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

@brief Return amount of data available to read from socket

@param fd Socket file descriptor @return Number of bytes available to read. ZTS_ERR_SERVICE if the node experiences a problem, ZTS_ERR_ARG if invalid argument. Sets zts_errno