plan9port/src/cmd/sleep.c
rsc bc7cb1a15a new utilities.
the .C files compile but are renamed to avoid building automatically.
2003-11-23 18:04:47 +00:00

13 lines
170 B
C

#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);
}