Function libzt::node::zts_bsd_readv[][src]

pub unsafe extern "C" fn zts_bsd_readv(
    fd: c_int,
    iov: *const zts_iovec,
    iovcnt: c_int
) -> ssize_t
Expand description

@brief Read data from socket into multiple buffers

@param fd Socket file descriptor @param iov Array of destination buffers @param iovcnt Number of buffers to read into @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