Function libzt::zts_bsd_read [−][src]
pub unsafe extern "C" fn zts_bsd_read(
fd: c_int,
buf: *mut c_void,
len: size_t
) -> ssize_t
Expand description
@brief Read data from socket onto buffer
@param fd Socket file descriptor
@param buf Pointer to data buffer
@param len Length of data buffer to receive data
@return Number of bytes read if successful, ZTS_ERR_SERVICE
if the node
experiences a problem, ZTS_ERR_ARG
if invalid argument. Sets zts_errno