Mercurial > hg > toybox
view toys/sleep.c @ 206:a14921912ebc
Delete testdir after use.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 16 Dec 2007 18:02:05 -0600 |
parents | 3227c5316260 |
children | d4176f3f3835 |
line wrap: on
line source
/* vi: set sw=4 ts=4: */ /* * sleep.c - Wait for a number of seconds. * * See http://www.opengroup.org/onlinepubs/009695399/utilities/sleep.html */ #include "toys.h" void sleep_main(void) { toys.exitval = sleep(atol(*toys.optargs)); }