repo.or.cz
/
glibc
/
history.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Wrapper around resource/ulimit.h.
[glibc/history.git]
/
math
/
test-matherr.c
blob
91657a8cb20db3951f607fce9c3b7a4456ece85e
1
#undef _SVID_SOURCE
2
#define _SVID_SOURCE
3
#include <math.h>
4
#include <stdio.h>
5
#include <stdlib.h>
6
7
static int
fail
=
1
;
8
9
int
10
matherr
(
struct
exception
*
s
)
11
{
12
printf
(
"matherr is working
\n
"
);
13
fail
=
0
;
14
return
1
;
15
}
16
17
int
18
main
(
void
)
19
{
20
_LIB_VERSION
=
_SVID_
;
21
acos
(
2.0
);
22
return
fail
;
23
}