repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
corrections to scren bar rendering offsets
[AROS.git]
/
test
/
clib
/
exit.c
blob
8dd7bce48a739eb0298667a4cd2a1122d67ba4ad
1
#include <stdio.h>
2
#include <stdlib.h>
3
4
#include <aros/debug.h>
5
6
static unsigned int
level
=
0
;
7
8
int
main
(
void
)
9
{
10
bug
(
"Nest level: %u
\n
"
, ++
level
);
11
12
if
(
level
<
20
)
13
main
();
14
15
exit
(
0
);
16
17
bug
(
"Exit() did not work!
\n
"
);
18
return
20
;
19
}