2 Copyright © 2008-2012, The AROS Development Team. All rights reserved.
5 POSIX.1-2008 function nanosleep().
10 /*****************************************************************************
18 const struct timespec
* req
, struct timespec
*rem
)
21 Suspends program execution for a given number of nanoseconds.
25 rem - remaining time, if nanosleep was interrupted by a signal
28 0 on success, -1 on error
39 sorry, this function just calls usleep()
41 ******************************************************************************/
43 useconds_t usec
= req
->tv_sec
* 10000000 + req
->tv_nsec
/ 1000;