[libc-commits] [libc] [libc] Implement fdopendir (PR #206590)

Victor Campos via libc-commits libc-commits at lists.llvm.org
Tue Jun 30 06:27:25 PDT 2026


================
@@ -0,0 +1,43 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+/// ErrorOr-returning syscall wrapper for fcntl.
+///
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_SRC___SUPPORT_OSUTIL_SYSCALL_WRAPPERS_FCNTL_H
+#define LLVM_LIBC_SRC___SUPPORT_OSUTIL_SYSCALL_WRAPPERS_FCNTL_H
+
+#include "src/__support/OSUtil/linux/syscall.h" // syscall_impl
----------------
vhscampos wrote:

Missing from the deps list in CMake?

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


More information about the libc-commits mailing list