/src/games/tetris/ |
input.c | 140 static struct timeval timeleft; local in function:tgetchar 144 * Reset timeleft to fallrate whenever it is not positive. 146 * take it, and update timeleft so that the next call to 148 * make timeleft zero or negative, and return -1. 152 if (!TV_POS(&timeleft)) { 154 timeleft.tv_sec = 0; 155 timeleft.tv_usec = fallrate; 157 if (!rwait(&timeleft))
|
/src/usr.bin/audio/record/ |
record.c | 76 static int timeleft (struct timeval *, struct timeval *); 356 while (no_time_limit || timeleft(&start_time, &record_time)) { 371 timeleft(struct timeval *start_tvp, struct timeval *record_tvp) function in typeref:typename:int
|
/src/sbin/shutdown/ |
shutdown.c | 79 time_t timeleft, timetowait; member in struct:interval 267 if (tp->timeleft < offset) 268 (void)sleep((u_int)(offset - tp->timeleft)); 270 while (offset < tp->timeleft) 276 if ((sltime = offset - tp->timeleft) != 0) { 283 timewarn(tp->timeleft); 284 if (!logged && tp->timeleft <= NOLOG_TIME) { 289 if (!tp->timeleft) 298 timewarn(time_t timeleft) 320 timeleft ? "": "FINAL ", whom, hostname) [all...] |
/src/usr.bin/midirecord/ |
midirecord.c | 90 static int timeleft(struct timeval *, struct timeval *); 256 while (no_time_limit || timeleft(&start_time, &record_time)) { 663 timeleft(struct timeval *start_tvp, struct timeval *record_tvp) function in typeref:typename:int
|