summaryrefslogtreecommitdiff
path: root/src/libc/include/sys/wait.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libc/include/sys/wait.h')
-rw-r--r--src/libc/include/sys/wait.h2
1 files changed, 2 insertions, 0 deletions
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);