diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2021-10-28 20:49:47 +0300 |
---|---|---|
committer | Idan Horowitz <idan.horowitz@gmail.com> | 2021-12-01 21:44:11 +0200 |
commit | 48f92f6482b31d852e64c7fa28f1b399dedc9e17 (patch) | |
tree | 04a832b0de16363d889f22785383c9073f7a7aa3 /Kernel/API/POSIX/signal.h | |
parent | 224b865fdad23b38866873c9668f574539b584b7 (diff) | |
download | serenity-48f92f6482b31d852e64c7fa28f1b399dedc9e17.zip |
LibC: Add the SIGFPE si_code macros
Diffstat (limited to 'Kernel/API/POSIX/signal.h')
-rw-r--r-- | Kernel/API/POSIX/signal.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Kernel/API/POSIX/signal.h b/Kernel/API/POSIX/signal.h index 7fbcefcbc8..a95ac6ad4e 100644 --- a/Kernel/API/POSIX/signal.h +++ b/Kernel/API/POSIX/signal.h @@ -68,6 +68,15 @@ struct sigaction { #define CLD_STOPPED 4 #define CLD_CONTINUED 5 +#define FPE_INTDIV 0 +#define FPE_INTOVF 1 +#define FPE_FLTDIV 2 +#define FPE_FLTOVF 3 +#define FPE_FLTUND 4 +#define FPE_FLTRES 5 +#define FPE_FLTINV 6 +#define FPE_FLTSUB 7 + #ifdef __cplusplus } #endif |