llvm-project
d0a9d2f1 - [libc] Implement statx in sys/stat (#240031)

Commit
4 days ago
[libc] Implement statx in sys/stat (#240031) This PR implements `statx` in `<sys/stat.h>`. - Connects public `statx` entrypoint to internal Linux syscall wrapper. - Adds `struct statx` and `struct statx_timestamp` definitions to `llvm-libc-types` and `hdr/types`. - Registers public declaration in `libc/include/sys/stat.yaml`. - Registers entrypoints across Linux targets (`x86_64`, `aarch64`, `riscv`). - Adds unit tests in `libc/test/src/sys/stat/statx_test.cpp`. Fixes #240022.
Author
Parents
Loading