summaryrefslogtreecommitdiff
path: root/libc/src/sys/time/linux/utimes.cpp
AgeCommit message (Collapse)Author
2025-08-26[libc][NFC] Clean up utimes and setsid (#155495)Michael Jones
Simplify utims a bit and add proper error handling to setsid as described in the standard
2025-07-19[libc] Fix utimes build when full_build=OFF (#149668)Mikhail R. Gadelha
We might pull a header from the host where tv_nsec is not a long, so compilation would fail with an 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-13[libc] Enable utimes function for riscv (#139181)Mikhail R. Gadelha
RV32 uses SYS_utimensat_time64 instead of SYS_utimensat but the call is the same.
2025-04-04[libc][NFC] replace NULL with nullptr (#134464)Michael Jones
Simple cleanup
2025-04-03[libc] Implemented utimes (Issue #133953) (#134167)Aditya Tejpaul
This pull request implements the `utimes` command in libc ([Issue #133953](https://github.com/llvm/llvm-project/issues/133953)). - [x] Add the implementation of `utimes` in `/src/sys/time`. - [x] Add tests for `utimes` in `/test/src/sys/time`. - [x] Add `utimes` to [entrypoints.txt](https://github.com/llvm/llvm-project/blob/main/libc/config/linux/x86_64/entrypoints.txt) for at least x86_64 and whatever you're building on - [x] Add `utimes` to [include/sys/time.yaml](https://github.com/llvm/llvm-project/blob/main/libc/include/sys/time.yaml)