summaryrefslogtreecommitdiff
path: root/libc/src/sys/time/linux/setitimer.cpp
AgeCommit message (Collapse)Author
2025-07-19[libc] Fix setitimer build when full_build=OFF (#149665)Mikhail R. Gadelha
When we pull the headers from the system, we might get a suseconds_t that's a long long, so add a cast to prevent a implicit conversion error.
2025-06-11[libc] Move libc_errno.h to libc/src/__support and make ↵lntue
LIBC_ERRNO_MODE_SYSTEM to be header-only. (#143187) This is the first step in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450
2025-05-16[libc] Enable setitimer and getitimer functions on riscv (#139182)Mikhail R. Gadelha
These functions don't have a _time64 variant, so we can't use time_t directly (since our time_t is a uint64_t). The workaround is to use longs when doing the syscall and write back when necessary.
2025-04-14[libc] Implement getitimer and setitimer, add proxy headers for itimerval ↵Tsz Chan
(#134773) #133983