musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/linux/accept4.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/accept4.c')
-rw-r--r--src/linux/accept4.c 9
1 files changed, 9 insertions, 0 deletions
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 <sys/socket.h>
+#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);
+}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月09日 03:56:12 +0000

AltStyle によって変換されたページ (->オリジナル) /