#define _GNU_SOURCE #include #include "syscall.h" #include "libc.h" int accept4(int fd, struct sockaddr *restrict addr, socklen_t *restrict len, int flg) { return syscall(SYS_accept4, fd, addr, len, flg); }