From e43939bcc6123e02314aa403eef94d5ace441f7f Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 27 Aug 2023 02:06:32 +0200 Subject: ports: qbe, cproc :^) --- src/libc/include/sys/wait.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libc/include/sys/wait.h') diff --git a/src/libc/include/sys/wait.h b/src/libc/include/sys/wait.h index 5f0d2cc..cc8b9a8 100644 --- a/src/libc/include/sys/wait.h +++ b/src/libc/include/sys/wait.h @@ -4,6 +4,7 @@ #define WIFSTOPPED(x) 0 #define WEXITSTATUS(x) ((x)&0xFF) #define WIFEXITED(x) 1 +#define WIFSIGNALED(x) 0 #define WSTOPSIG(x) 0 #define WTERMSIG(x) 0 @@ -12,3 +13,4 @@ pid_t wait(int *wstatus); pid_t wait3(int *wstatus, int opts, struct rusage *rusage); +pid_t waitpid(pid_t pid, int *wstatus, int opts); -- cgit v1.2.3