working on it
This commit is contained in:
parent
56a6e78765
commit
35a88970c2
1094 changed files with 51093 additions and 51 deletions
9
05/musl-final/arch/x86_64/bits/wexitstatus.h
Normal file
9
05/musl-final/arch/x86_64/bits/wexitstatus.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
#ifndef WEXITSTATUS
|
||||
#define WEXITSTATUS(s) (((s) & 0xff00) >> 8)
|
||||
#define WTERMSIG(s) ((s) & 0x7f)
|
||||
#define WSTOPSIG(s) WEXITSTATUS(s)
|
||||
#define WCOREDUMP(s) ((s) & 0x80)
|
||||
#define WIFEXITED(s) (!WTERMSIG(s))
|
||||
#define WIFSTOPPED(s) (((s) & 0xff) == 0x7f)
|
||||
#define WIFSIGNALED(s) (!WIFSTOPPED(s) && !WIFEXITED(s))
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue