Function arceos_posix_api::sys_send
source · pub fn sys_send(
socket_fd: c_int,
buf_ptr: *const c_void,
len: size_t,
flag: c_int
) -> ssize_t
Available on crate feature
net
only.Expand description
Send a message on a socket to the address connected.
Return the number of bytes sent if success.