LibC: Implement stub for clock

This commit is contained in:
2025-01-24 19:22:59 +02:00
parent 15021b442c
commit b6455e0661

View File

@@ -18,6 +18,12 @@ int nanosleep(const struct timespec* rqtp, struct timespec* rmtp)
return syscall(SYS_NANOSLEEP, rqtp, rmtp);
}
clock_t clock(void)
{
dwarnln("TODO: clock");
return -1;
}
time_t time(time_t* tloc)
{
timespec tp;