1e265d9d414c90cebb47c47e4367aa70b02cee91
[utils.git] / usleep.c
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <unistd.h>
4
5 int main(int argc, char **argv)
6 {
7     if(argc < 2)
8     {
9         fprintf(stderr, "usage: usleep usecs\n");
10         return(1);
11     }
12     usleep(atoi(argv[1]));
13     return(0);
14 }