[libc-commits] [libc] [libc][fcntl] Implement posix_fadvise function. (PR #220790)

Pavel Labath via libc-commits libc-commits at lists.llvm.org
Thu Sep 3 23:40:35 PDT 2026


================
@@ -445,6 +445,21 @@ add_header_library(
     libc.include.sys_syscall
 )
 
+add_header_library(
+  posix_fadvise
----------------
labath wrote:

Actually, it's my mistake :). I responded hastily. The linux syscall is of course called `fadvise` (with various prefixes and suffixes), so I don't have a problem with naming the wrapper like that. But I also don't have a problem with calling it posix_fadvise.

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


More information about the libc-commits mailing list