Sign in
plan9port
/
plan9
/
32c6e78c6c4c13b63d8dc30aa395cfcc6e686c0a
/
.
/
src
/
cmd
/
sleep.c
blob: 68cdc7a46d2dcbaf83494f9b2ffb3aa1a06e2b0e [
file
] [
log
] [
blame
]
#include
<u.h>
#include
<libc.h>
void
main
(
int
argc
,
char
*
argv
[])
{
long
secs
;
if
(
argc
>
1
)
for
(
secs
=
atol
(
argv
[
1
]);
secs
>
0
;
secs
--)
sleep
(
1000
);
exits
(
0
);
}