Sign in
plan9port
/
plan9
/
a61c69337c9242fa91c62bf761a03b6af015a4f9
/
.
/
src
/
cmd
/
sleep.c
blob: 68cdc7a46d2dcbaf83494f9b2ffb3aa1a06e2b0e [
file
] [
log
] [
blame
]
rsc
bc7cb1a
2003-11-23 18:04:47 +0000
[
diff
] [
blame
]
1
#include
<u.h>
2
#include
<libc.h>
3
4
void
5
main
(
int
argc
,
char
*
argv
[])
6
{
7
long
secs
;
8
9
if
(
argc
>
1
)
10
for
(
secs
=
atol
(
argv
[
1
]);
secs
>
0
;
secs
--)
11
sleep
(
1000
);
12
exits
(
0
);
13
}