[libc-commits] [libc] [libc] Implement scandir and its unit tests (PR #223198)

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Thu Sep 24 22:27:51 PDT 2026


================
@@ -26,6 +26,8 @@ types:
   - type_name: reclen_t
   - type_name: size_t
   - type_name: ssize_t
+  - type_name: __scandir_compare_t
----------------
vonosmas wrote:

I believe you can omit them here - these types don't need to be exported based on standard spec, and the fact that you refer to them in function arguments is enough to get proper llvm-libc-types/ header inclusion added to the generated header.

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


More information about the libc-commits mailing list