repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Return failure in getnetgrent only when all netgroups have been searched (#17363)
[glibc.git]
/
math
/
test-matherr.c
blob
cd09a3981ce517c5bb2ba0bb0671467d53c513d1
1
#include <math.h>
2
#include <stdio.h>
3
#include <stdlib.h>
4
5
static int
fail
=
1
;
6
7
int
8
matherr
(
struct
exception
*
s
)
9
{
10
printf
(
"matherr is working
\n
"
);
11
fail
=
0
;
12
return
1
;
13
}
14
15
int
16
main
(
void
)
17
{
18
_LIB_VERSION
=
_SVID_
;
19
acos
(
2.0
);
20
return
fail
;
21
}