aboutsummaryrefslogtreecommitdiff
path: root/toys/sleep.c
blob: 1426690f65a4414d5c97c87816ef5382cbabf433 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* 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));
}