LibC: Implement stub for clock

This commit is contained in:
Bananymous 2025-01-24 19:22:59 +02:00
parent 15021b442c
commit b6455e0661
1 changed files with 6 additions and 0 deletions

View File

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