#include "wut_newlib.h" #include #include #include int __wut_nanosleep(const struct timespec *req, struct timespec *rem) { OSSleepTicks(OSSecondsToTicks(req->tv_sec) + OSNanosecondsToTicks(req->tv_nsec)); rem->tv_sec = 0; rem->tv_nsec = 0; return 0; }