Commit Graph

5 Commits

Author SHA1 Message Date
d93a4062a2 libc: Do not use the heavy variadic syscall() function for wrappers
That function is meant more for user programs, and should still be rarely used, since it's not portable.
Instead, we already know the number of arguments. We just call __lc_fast_syscallN, which also sets errno.
2022-10-27 17:42:00 +02:00
fa35e883d7 libc: Stub out strftime 2022-10-23 10:01:03 +02:00
81c337cf9a libc: Add struct tm and localtime(), gmtime() stubs 2022-10-22 12:17:48 +02:00
bf026d0dea libc: Add bad time() function
It's just an alias for clock(). Which is not good. But it's a stub, that's the point.
2022-10-21 18:32:01 +02:00
b1739f7f0d libc: Add support for the new clock() system call 2022-10-15 13:21:22 +02:00