From de03b72979b8ba7bb50d49498cc9144ed99d3c44 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 14 Jul 2019 11:31:34 +0200 Subject: [PATCH] LibC: Add WIFSTOPPED() macro in . --- Libraries/LibC/sys/wait.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Libraries/LibC/sys/wait.h b/Libraries/LibC/sys/wait.h index 3fedd42b2c..43b999a762 100644 --- a/Libraries/LibC/sys/wait.h +++ b/Libraries/LibC/sys/wait.h @@ -8,6 +8,7 @@ __BEGIN_DECLS #define WEXITSTATUS(status) (((status)&0xff00) >> 8) #define WTERMSIG(status) ((status)&0x7f) #define WIFEXITED(status) (WTERMSIG(status) == 0) +#define WIFSTOPPED(status) (((status) & 0xff) == 0x7f) #define WIFSIGNALED(status) (((char)(((status)&0x7f) + 1) >> 1) > 0) #define WNOHANG 1