regression: elf loading
[lunaix-os.git] / lunaix-os / includes / lunaix / types.h
index 0d1ad197fa05c8bb75bf4916ab7192c1e97ea431..a98ae976c8e63615ce4da5073002861d6627b59e 100644 (file)
@@ -3,22 +3,7 @@
 
 #include <stdarg.h>
 #include <stdint.h>
-#include <usr/sys/types.h>
-
-#define PEXITTERM 0x100
-#define PEXITSTOP 0x200
-#define PEXITSIG 0x400
-
-#define PEXITNUM(flag, code) (flag | (code & 0xff))
-
-#define WNOHANG 1
-#define WUNTRACED 2
-#define WEXITSTATUS(wstatus) ((wstatus & 0xff))
-#define WIFSTOPPED(wstatus) ((wstatus & PEXITSTOP))
-#define WIFEXITED(wstatus)                                                     \
-    ((wstatus & PEXITTERM) && ((char)WEXITSTATUS(wstatus) >= 0))
-
-#define WIFSIGNALED(wstatus) ((wstatus & PEXITSIG))
+#include <sys/types.h>
 
 #define PACKED __attribute__((packed))