Add and fix test for kill&waitpid.

This commit is contained in:
4lDO2
2025-04-16 23:44:36 +02:00
parent 0083043736
commit 37b60b67e0
3 changed files with 12 additions and 14 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
#define _BITS_SYS_WAIT_H
#define WEXITSTATUS(s) (((s) >> 8) & 0xff)
#define WTERMSIG(s) (((s) & 0x7f) != 0)
#define WTERMSIG(s) ((s) & 0x7f)
#define WSTOPSIG(s) WEXITSTATUS(s)
#define WCOREDUMP(s) (((s) & 0x80) != 0)
#define WIFEXITED(s) (((s) & 0x7f) == 0)