Lines Matching defs:delay
61 {"delay", required_argument, NULL, 'd'},
69 " --delay, -d <delay> wait <delay> sec between prints [1 - 1000000]\n"
76 unsigned long delay = 5;
94 delay = strtoul(optarg, NULL, 0);
95 if (delay == ULONG_MAX || delay < 0 ||
96 delay > 1000000) {
97 fprintf(stderr, "ERROR: invalid delay : %s\n",
117 sleep(delay);