inittimeleft
if (inittimeleft(&ats, &sleepts) == -1) {
if (ts && inittimeleft(ts, &sleepts) == -1) {
int inittimeleft(struct timespec *, struct timespec *);