blob: f79ef7fe965123ec1bb7702d081b57ceb255b4d8 [file] [log] [blame]
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <limits.h>
int main(int argc, char **argv)
{
int sleep_time;
if (argc < 2) {
printf("Usage: %s SEC\n", argv[0]);
exit(-1);
}
sleep_time = atoi(argv[1]);
if (sleep_time < 0)
sleep_time = UINT_MAX;
return sleep(sleep_time);
}