Initial revision

This commit is contained in:
Eric Andersen
1999-10-05 16:24:54 +00:00
commit cc8ed39b24
113 changed files with 24504 additions and 0 deletions

15
coreutils/sleep.c Normal file
View File

@ -0,0 +1,15 @@
#include "internal.h"
#include <stdio.h>
const char sleep_usage[] = "sleep seconds\n"
"\n"
"\tPause program execution for the given number of seconds.\n";
extern int
sleep_main(struct FileInfo * i, int argc, char * * argv)
{
if ( sleep(atoi(argv[1])) != 0 )
return -1;
else
return 0;
}