1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:24:57 +00:00

Kernel+LibC: Share definitions for sys/wait.h

This commit is contained in:
Andreas Kling 2021-08-14 18:18:30 +02:00
parent 661bd992b0
commit 6f78377864
3 changed files with 40 additions and 36 deletions

View file

@ -19,6 +19,7 @@
#include <Kernel/API/POSIX/sys/socket.h>
#include <Kernel/API/POSIX/sys/stat.h>
#include <Kernel/API/POSIX/sys/un.h>
#include <Kernel/API/POSIX/sys/wait.h>
#include <Kernel/API/POSIX/termios.h>
#include <Kernel/API/POSIX/time.h>
@ -63,13 +64,6 @@ enum {
PERF_EVENT_SIGNPOST = 32768,
};
#define WNOHANG 1
#define WUNTRACED 2
#define WSTOPPED WUNTRACED
#define WEXITED 4
#define WCONTINUED 8
#define WNOWAIT 0x1000000
#define R_OK 4
#define W_OK 2
#define X_OK 1
@ -141,12 +135,6 @@ struct timeval {
suseconds_t tv_usec;
};
typedef enum {
P_ALL = 1,
P_PID,
P_PGID
} idtype_t;
#define UTSNAME_ENTRY_LEN 65
struct utsname {