repo.or.cz
/
dragonfly.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
nrelease: Clean up a bit the 'clean' target
[dragonfly.git]
/
test
/
testcases
/
sample
/
test4
/
test4.c
blob
cb4be091f9e8364bce67bc1331da2b444d073310
1
#include <stdio.h>
2
#include <unistd.h>
3
4
int
main
(
void
)
5
{
6
int
i
;
7
8
printf
(
"Hi, starting to run now!
\n
"
);
9
10
while
(
1
) {
11
sleep
(
1
);
12
i
++;
13
14
fprintf
(
stdout
,
"Ran for %d seconds
\n
"
,
i
);
15
fprintf
(
stderr
,
"Ran for %d seconds
\n
"
,
i
);
16
}
17
18
fprintf
(
stderr
,
"Ho... finished the loop!
\n
"
);
19
return
0
;
20
}