]> pd.if.org Git - pdutils/blob - posix/sleep/sleep.c
rename utils to posix
[pdutils] / posix / sleep / sleep.c
1 #include <stdlib.h>
2 #include <unistd.h>
3
4 int main(int ac, char *av[]) {
5         int t;
6         if (ac < 2) {
7                 exit(1);
8         }
9
10         t = atoi(av[1]);
11         sleep(t);
12
13         return 0;
14 }