Function arceos_posix_api::sys_recv
source · pub fn sys_recv(
socket_fd: c_int,
buf_ptr: *mut c_void,
len: size_t,
flag: c_int
) -> ssize_t
Available on crate feature
net
only.Expand description
Receive a message on a socket.
Return the number of bytes received if success.