X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Flinux%2Faccept4.c;fp=src%2Flinux%2Faccept4.c;h=6b5c16cebe53cb772bf8e7933c5bcc09463e046d;hb=6cf8bfdb646efaf76c75a95d1ea0cd254706c037;hp=0000000000000000000000000000000000000000;hpb=b10d0230c1837be34e4ece7d6b11d19f1b578b9f;p=musl diff --git a/src/linux/accept4.c b/src/linux/accept4.c new file mode 100644 index 00000000..6b5c16ce --- /dev/null +++ b/src/linux/accept4.c @@ -0,0 +1,9 @@ +#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 socketcall_cp(accept4, fd, addr, len, flg, 0, 0); +}