mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-11-24 12:19:49 +00:00
16 lines
294 B
C
16 lines
294 B
C
#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;
|
|
}
|