From 112eafe13c3628cad6e692179c064dbbc3be2d8b Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 9 Jun 2023 17:22:31 +0200 Subject: ports/dash: stub out everything needed for dash to compile --- src/user/lib/include/sys/wait.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/user/lib/include/sys/wait.h') 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 + +#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); -- cgit v1.2.3