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:
parent
ed58abb911
commit
07c3cc01ec
4 changed files with 34 additions and 27 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue