Lines Matching defs:TIMEOUT
52 * Timeout interval is by default TIMEOUT, it can be changed with
81 #define TIMEOUT 15
90 static struct timeval timeout;
93 static int notimeout; /* no timeout at all */
94 static long nexttime; /* keep the timeout time */
122 sectimeout = TIMEOUT;
135 err(1, "illegal timeout value: %s", optarg);
137 errx(1, "illegal timeout value: %s", optarg);
139 errx(1, "too large timeout value: %ld",
153 "usage: %s [-np] [-t timeout]\n", getprogname());
166 timeout.tv_sec = (int)sectimeout * 60;
235 (void)printf("lock: %s on %s. no timeout.\n"
244 ntimer.it_value = timeout;
249 (void)printf("lock: %s on %s. timeout in %ld minutes\n"
340 "timeout in %lld:%lld minutes\n",
358 (void)printf("lock: timeout\n");