nanosleep
nanosleep(&__ts, 0);
extern int nanosleep(const struct timespec *, struct timespec *);
#define SLEEP(MILLISECONDS) { struct timespec t; t.tv_sec = (MILLISECONDS) / 1000; t.tv_nsec = (MILLISECONDS) % 1000 * 1000000; nanosleep(&t, NULL); }
nanosleep (requested_time, remaining)
return (nanosleep(duration, remaining));