subr_time.c | 102 struct timespec now, sleptts; local in function:gettimeleft 111 timespecsub(&now, sleepts, &sleptts); 114 if (timespeccmp(ts, &sleptts, <=)) { /* timed out */ 118 timespecsub(ts, &sleptts, ts); 126 struct timespec sleptts; local in function:clock_timeleft 128 clock_gettime1(clockid, &sleptts); 130 timespecsub(ts, &sleptts, ts); 131 *sleepts = sleptts;
|