summaryrefslogtreecommitdiff
path: root/src/sys/wait/WIFSIGNALED.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-23 14:32:20 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-23 14:32:20 -0500
commita8d68c3f9c4e2a1d07b9d27cebe0a7bf9edaacb0 (patch)
tree1edc4ed19aee852f57a3abbade608f4e7b94b33e /src/sys/wait/WIFSIGNALED.c
parente3a3f333451b843bc3c20ba6f487f0778b164f6b (diff)
implement proper function-like macro
Diffstat (limited to 'src/sys/wait/WIFSIGNALED.c')
-rw-r--r--src/sys/wait/WIFSIGNALED.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sys/wait/WIFSIGNALED.c b/src/sys/wait/WIFSIGNALED.c
index cc99a98a..4c3305b9 100644
--- a/src/sys/wait/WIFSIGNALED.c
+++ b/src/sys/wait/WIFSIGNALED.c
@@ -1,6 +1,5 @@
#include <sys/wait.h>
-
-#define WIFSIGNALED 3
+#define WIFSIGNALED(__stat_val) (__stat_val & 0x100)
/*
POSIX(1)
*/