[libc-commits] [libc] [libc] Implement fallocate (PR #222843)

Pavel Labath via libc-commits libc-commits at lists.llvm.org
Mon Sep 14 02:37:23 PDT 2026


================
@@ -42,6 +42,7 @@ set(TARGET_LIBC_ENTRYPOINTS
     libc.src.fcntl.open
     libc.src.fcntl.openat
     libc.src.fcntl.posix_fadvise
+    libc.src.fcntl.fallocate
----------------
labath wrote:

Could you also add the function to the riscv entry point list? I don't see why it wouldn't work there, and I believe we have some rv32 bots, which would let us test the 32-bit code path.

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


More information about the libc-commits mailing list