summaryrefslogtreecommitdiff
path: root/Kernel/API/POSIX/signal.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-10-28 20:49:47 +0300
committerIdan Horowitz <idan.horowitz@gmail.com>2021-12-01 21:44:11 +0200
commit48f92f6482b31d852e64c7fa28f1b399dedc9e17 (patch)
tree04a832b0de16363d889f22785383c9073f7a7aa3 /Kernel/API/POSIX/signal.h
parent224b865fdad23b38866873c9668f574539b584b7 (diff)
downloadserenity-48f92f6482b31d852e64c7fa28f1b399dedc9e17.zip
LibC: Add the SIGFPE si_code macros
Diffstat (limited to 'Kernel/API/POSIX/signal.h')
-rw-r--r--Kernel/API/POSIX/signal.h9
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