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/include/sys/socket.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012年09月08日 20:22:08 -0400
committerRich Felker <dalias@aerifal.cx>2012年09月08日 20:22:08 -0400
commit6cf8bfdb646efaf76c75a95d1ea0cd254706c037 (patch)
treebc640847a316bb36ba69d81cc2b5230f55f905f0 /include/sys/socket.h
parentb10d0230c1837be34e4ece7d6b11d19f1b578b9f (diff)
downloadmusl-6cf8bfdb646efaf76c75a95d1ea0cd254706c037.tar.gz
add acct, accept4, setns, and dup3 syscalls (linux extensions)
based on patch by Justin Cormack
Diffstat (limited to 'include/sys/socket.h')
-rw-r--r--include/sys/socket.h 4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h
index 97d78871..4afec4ef 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -255,6 +255,10 @@ int sockatmark (int);
#define SHUT_WR 1
#define SHUT_RDWR 2
+#ifdef _GNU_SOURCE
+int accept4(int, struct sockaddr *__restrict, socklen_t *__restrict, int);
+#endif
+
#ifdef __cplusplus
}
#endif
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月03日 01:25:44 +0000

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