[libc-commits] [libc] [libc] Implement statx in sys/stat (PR #240031)

Aman Maurya via libc-commits libc-commits at lists.llvm.org
Thu Nov 12 08:52:36 PST 2026


amanmaurya92 wrote:

@kaladron @labath @vonosmas 

Following up on the discussion, I've updated the PR to reuse `<linux/stat.h>` for `struct statx` (guarded with `#ifdef __linux__` for non-Linux header compatibility), added the missing `.llvm-libc-types.struct_statx` dependency in `libc/include/CMakeLists.txt`, and verified unit tests (`statx_test`). All CI checks are green.

Could you please take a look when you get a chance?

https://github.com/llvm/llvm-project/pull/240031


More information about the libc-commits mailing list