gettimeleft
gettimeleft(&ats, &sleepts)) > 0) {
if (ts && (timo = gettimeleft(ts, &sleepts)) <= 0)
int gettimeleft(struct timespec *, struct timespec *);