Mercurial > hg > toybox
view toys/sleep.c @ 190:e864c5ed1d25
Netcat needs this to build.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 03 Dec 2007 18:57:57 -0600 |
parents | 25447caf1b4b |
children | 30a6db5a95c2 |
line wrap: on
line source
/* vi: set sw=4 ts=4: */ /* * sleep.c - Wait for a number of seconds. */ #include "toys.h" void sleep_main(void) { toys.exitval = sleep(atol(*toys.optargs)); }