1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:37:46 +00:00

Kernel+LibC: Add some Unix signal types & definitions

This commit is contained in:
Sergey Bugaev 2020-02-05 19:41:52 +03:00 committed by Andreas Kling
parent aafa5a9d09
commit a6cb7f759e
4 changed files with 58 additions and 2 deletions

View file

@ -43,6 +43,8 @@ typedef uint32_t gid_t;
typedef int __pid_t;
#define pid_t __pid_t
typedef int id_t;
typedef int __ssize_t;
#define ssize_t __ssize_t

View file

@ -44,6 +44,12 @@ __BEGIN_DECLS
#define WEXITED 4
#define WCONTINUED 8
typedef enum {
P_ALL = 1,
P_PID,
P_PGID
} idtype_t;
pid_t waitpid(pid_t, int* wstatus, int options);
pid_t wait(int* wstatus);