move accept4, dup3, and pipe2 to non-linux-specific locations
[musl] / src / network / accept4.c
1 #define _GNU_SOURCE
2 #include <sys/socket.h>
3 #include "syscall.h"
4 #include "libc.h"
5
6 int accept4(int fd, struct sockaddr *restrict addr, socklen_t *restrict len, int flg)
7 {
8         return socketcall_cp(accept4, fd, addr, len, flg, 0, 0);
9 }