[−][src]Function wasi::wasi_snapshot_preview1::sock_recv
pub unsafe extern "C" fn sock_recv(
fd: Fd,
ri_data_ptr: *const Iovec,
ri_data_len: usize,
ri_flags: Riflags,
ro_datalen: *mut Size,
ro_flags: *mut Roflags
) -> Errno
Receive a message from a socket.
Note: This is similar to recv
in POSIX, though it also supports reading
the data into multiple buffers in the manner of readv
.