forked from Bananymous/banan-os
LibC: Implement stub for clock
This commit is contained in:
parent
15021b442c
commit
b6455e0661
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue