aboutsummaryrefslogtreecommitdiff
path: root/toys/sleep.c
blob: 06c4565d41b7d502b4f0475aee73d1531820f066 (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"

int sleep_main(void)
{
	return sleep(atol(*toys.optargs));
}