result = __nanosleep (&ts, &ts);  if (result != 0)
__sleep (unsigned int seconds){  struct timespec ts = { tv_sec: (long int) seconds, tv_nsec: 0 };  unsigned int result;  if (__nanosleep (&ts, &ts) == 0)    result = 0;  else    /* Round remaining time.  */    result = (unsigned int) ts.tv_sec + (ts.tv_nsec >= 500000000L);  return result;}