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/wait3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/wait3.c')
-rw-r--r--src/linux/wait3.c 11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/linux/wait3.c b/src/linux/wait3.c
new file mode 100644
index 00000000..dd63707c
--- /dev/null
+++ b/src/linux/wait3.c
@@ -0,0 +1,11 @@
+#include <sys/wait.h>
+#include <sys/resource.h>
+#define SYSCALL_STANDALONE
+#include "syscall.h"
+
+pid_t wait4(pid_t, int *, int, struct rusage *);
+
+pid_t wait3(int *status, int options, struct rusage *usage)
+{
+ return wait4(-1, status, options, usage);
+}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月11日 13:20:56 +0000

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