Ver Fonte

LibC: Add the SIGFPE si_code macros

Idan Horowitz há 3 anos atrás
pai
commit
48f92f6482
1 ficheiros alterados com 9 adições e 0 exclusões
  1. 9 0
      Kernel/API/POSIX/signal.h

+ 9 - 0
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