[libc-commits] [libc] [libc] Implement fdopendir (PR #206590)
Victor Campos via libc-commits
libc-commits at lists.llvm.org
Tue Jun 30 06:27:23 PDT 2026
================
@@ -1,21 +1,27 @@
-//===--- Linux implementation of the Dir helpers --------------------------===//
+//===----------------------------------------------------------------------===//
//
// 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 the Dir helpers.
+///
+//===----------------------------------------------------------------------===//
#include "src/__support/File/dir.h"
-
+#include "hdr/fcntl_macros.h" // For open flags
+#include "hdr/sys_stat_macros.h" // For S_ISDIR
+#include "src/__support/OSUtil/linux/stat/kernel_statx_types.h"
+#include "src/__support/OSUtil/linux/syscall_wrappers/fcntl.h"
#include "src/__support/OSUtil/linux/syscall_wrappers/open.h"
+#include "src/__support/OSUtil/linux/syscall_wrappers/statx.h"
#include "src/__support/OSUtil/syscall.h" // For internal syscall function.
----------------
vhscampos wrote:
Missing from the deps list in CMakeLists:
- OSUtil.syscall
- macros.config
https://github.com/llvm/llvm-project/pull/206590
More information about the libc-commits
mailing list