1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00

LibC: Move wait-related stuff to <sys/wait.h>. #POSIX

This commit is contained in:
Andreas Kling 2019-05-30 15:12:09 +02:00
parent ed58abb911
commit 07c3cc01ec
4 changed files with 34 additions and 27 deletions

View file

@ -95,11 +95,6 @@ enum
_PC_NAME_MAX,
};
#define WEXITSTATUS(status) (((status)&0xff00) >> 8)
#define WTERMSIG(status) ((status)&0x7f)
#define WIFEXITED(status) (WTERMSIG(status) == 0)
#define WIFSIGNALED(status) (((char)(((status)&0x7f) + 1) >> 1) > 0)
#define HOST_NAME_MAX 64
#define R_OK 4