summaryrefslogtreecommitdiff
path: root/src/user/lib/syswait.c
diff options
context:
space:
mode:
authordzwdz2023-06-09 17:22:31 +0200
committerdzwdz2023-06-09 17:22:31 +0200
commit112eafe13c3628cad6e692179c064dbbc3be2d8b (patch)
tree04bdb3df2d2e6fd7042dbefa117ff0e5a5447476 /src/user/lib/syswait.c
parent668655053911072741883fd258c23e9d0668a853 (diff)
ports/dash: stub out everything needed for dash to compile
Diffstat (limited to 'src/user/lib/syswait.c')
-rw-r--r--src/user/lib/syswait.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/user/lib/syswait.c b/src/user/lib/syswait.c
new file mode 100644
index 0000000..6389cb2
--- /dev/null
+++ b/src/user/lib/syswait.c
@@ -0,0 +1,8 @@
+#include <bits/panic.h>
+#include <sys/resource.h>
+#include <sys/wait.h>
+
+pid_t wait3(int *wstatus, int opts, struct rusage *rusage) {
+ (void)wstatus; (void)opts; (void)rusage;
+ __libc_panic("unimplemented");
+}