view toys/sleep.c @ 143:9cbb323f297f

Break out dirtree.c and let it call a function instead of returning the data.
author Rob Landley <rob@landley.net>
date Thu, 04 Oct 2007 02:04:10 -0500
parents 93da7cc220e6
children 25447caf1b4b
line wrap: on
line source

/* 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));
}