[libc-commits] [libc] [libc] Implement posix_fadvise64. (PR #223294)

Victor Campos via libc-commits libc-commits at lists.llvm.org
Tue Sep 15 02:11:27 PDT 2026


================
@@ -0,0 +1,31 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+///
+/// \file
+/// Linux implementation of posix_fadvise64.
+///
+//===----------------------------------------------------------------------===//
+
+#include "src/fcntl/posix_fadvise64.h"
+
+#include "hdr/types/off64_t.h"
+#include "src/__support/OSUtil/linux/syscall_wrappers/posix_fadvise.h"
+#include "src/__support/common.h"
+#include "src/__support/macros/config.h"
----------------
vhscampos wrote:

Dependency to macros.config is missing from the CMake part

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


More information about the libc-commits mailing list