Commit Graph

12 Commits

Author SHA1 Message Date
04ae97a6ec libc: Add difftime() 2022-11-06 15:09:38 +01:00
aabff7a1d3 libc: Add mktime() 2022-10-30 20:46:25 +01:00
45f40a31d6 Remove old FIXME 2022-10-30 20:40:53 +01:00
f83c78bcad libc: Implement gettimeofday() and instantly mark it as deprecated 2022-10-30 20:40:05 +01:00
d5a6c7f27f libc: Implement strftime() 2022-10-30 17:47:47 +01:00
324fb42ee2 libc: Add support for the new time functionality in the kernel 2022-10-30 09:08:29 +01:00
32e09d3417 libc: Stub out more functionality so part of binutils builds 2022-10-29 09:39:12 +02:00
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