|
@@ -372,7 +372,8 @@ int nanosleep(const struct timespec* requested_sleep, struct timespec* remaining
|
|
|
int clock_getres(clockid_t, struct timespec*)
|
|
|
{
|
|
|
dbgln("FIXME: Implement clock_getres()");
|
|
|
- TODO();
|
|
|
+ auto rc = -ENOSYS;
|
|
|
+ __RETURN_WITH_ERRNO(rc, rc, -1);
|
|
|
}
|
|
|
|
|
|
double difftime(time_t t1, time_t t0)
|