subr_time.c | 118 struct timespec now, sleptts; local in function:gettimeleft 127 timespecsub(&now, sleepts, &sleptts); 130 if (timespeccmp(ts, &sleptts, <=)) { /* timed out */ 134 timespecsub(ts, &sleptts, ts); 142 struct timespec sleptts; local in function:clock_timeleft 144 clock_gettime1(clockid, &sleptts); 146 timespecsub(ts, &sleptts, ts); 147 *sleepts = sleptts;
|