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