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

Add strsignal() and improve sharing signal numbers between LibC and kernel.

This commit is contained in:
Andreas Kling 2018-11-06 15:45:16 +01:00
parent 8d1f8b2518
commit 7c3746592b
15 changed files with 153 additions and 60 deletions

View file

@ -48,12 +48,6 @@ int dup2(int old_fd, int new_fd);
#define WIFEXITED(status) (WTERMSIG(status) == 0)
#define WIFSIGNALED(status) (((char) (((status) & 0x7f) + 1) >> 1) > 0)
#define SIGINT 2
#define SIGKILL 9
#define SIGSEGV 11
#define SIGTERM 15
#define SIGCHLD 17
#define HOST_NAME_MAX 64
#define S_IFMT 0170000