9359e46e1af6b339be23ae0a86d2052c0870a9b8
[reactos.git] / lib / crtdll / except / matherr.c
1 #include <windows.h>
2 #include <ntos/except.h>
3
4
5 struct _exception {
6     int type;
7     char* name;
8     double arg1;
9     double arg2;
10     double retval;
11 } ;
12
13
14 /*
15  * @unimplemented
16  */
17 int _matherr(struct _exception* e)
18 {
19     return 0;
20 }
21
22
23 // not exported by NTDLL
24 void __setusermatherr(int (*handler)(struct _exception*))
25 {
26
27 }
28
29
30 #define _FPIEEE_RECORD void
31
32 /*
33  * @unimplemented
34  */
35 int _fpieee_flt(
36         unsigned long exception_code,
37         struct _EXCEPTION_POINTERS* ExceptionPointer,
38         int (*handler)(_FPIEEE_RECORD*)
39         )
40 {
41     return 0;
42 }