Function arceos_posix_api::sys_accept
source · pub unsafe fn sys_accept(
socket_fd: c_int,
socket_addr: *mut sockaddr,
socket_len: *mut socklen_t
) -> c_int
Available on crate feature
net
only.Expand description
Accept for connections on a socket
Return file descriptor for the accepted socket if success.