Function nix::sys::socket::accept4
pub fn accept4(sockfd: RawFd, flags: SockFlag) -> Result<RawFd>
The portability is definied by:
#[cfg(any(all(target_os = "android",
any(target_arch = "aarch64", target_arch = "x86", target_arch = "x86_64")),
target_os = "freebsd", target_os = "linux", target_os = "openbsd"))]
Documentation
Accept a connection on a socket