Function panda_sys::qemu_co_sendv_recvv [−][src]
pub unsafe extern "C" fn qemu_co_sendv_recvv(
sockfd: c_int,
iov: *mut iovec,
iov_cnt: c_uint,
offset: size_t,
bytes: size_t,
do_send: bool
) -> ssize_t
Expand description
Sends a (part of) iovec down a socket, yielding when the socket is full, or Receives data into a (part of) iovec from a socket, yielding when there is no data in the socket. The same interface as qemu_sendv_recvv(), with added yielding. XXX should mark these as coroutine_fn