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
Wanderer: send message when AppIcon is double-clicked.
[AROS.git]
/
test
/
clib
/
exit.c
blob
1c328d323a85e6776a6f5fb6e09a327a497b1d10
1
#include <stdio.h>
2
#include <stdlib.h>
3
4
static unsigned int
level
=
0
;
5
6
int
main
(
void
)
7
{
8
printf
(
"Nest level: %u
\n
"
, ++
level
);
9
10
if
(
level
<
20
)
11
main
();
12
13
exit
(
0
);
14
printf
(
"Exit() did not work!
\n
"
);
15
}