blob: 4cea7b9654d23fa9915393db28766730aaef8957 [file] [log] [blame] [edit]
#include <stdio.h>
#include <stdlib.h>
#include <parlib/parlib.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)
exit(-1);
sys_block(sleep_time * 1000000);
return 0;
}