summaryrefslogtreecommitdiff
path: root/src/user/lib/include/sys/wait.h
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/include/sys/wait.h
parent668655053911072741883fd258c23e9d0668a853 (diff)
ports/dash: stub out everything needed for dash to compile
Diffstat (limited to 'src/user/lib/include/sys/wait.h')
-rw-r--r--src/user/lib/include/sys/wait.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/user/lib/include/sys/wait.h b/src/user/lib/include/sys/wait.h
index e69de29..c71418c 100644
--- a/src/user/lib/include/sys/wait.h
+++ b/src/user/lib/include/sys/wait.h
@@ -0,0 +1,13 @@
+#pragma once
+#include <sys/types.h>
+
+#define WIFSTOPPED(x) 0
+#define WEXITSTATUS(x) 0
+#define WIFEXITED(x) 0
+#define WSTOPSIG(x) 0
+#define WTERMSIG(x) 0
+
+#define WNOHANG 0
+#define WUNTRACED 0
+
+pid_t wait3(int *wstatus, int opts, struct rusage *rusage);