1 /* sleep - suspend a process for x sec Author: Andy Tanenbaum */
6 #include <minix/minlib.h>
8 _PROTOTYPE(int main
, (int argc
, char **argv
));
20 std_err("Usage: sleep time\n");
23 while (c
= *(argv
[1])++) {
24 if (c
< '0' || c
> '9') {
25 std_err("sleep: bad arg\n");
28 seconds
= 10 * seconds
+ (c
- '0');