[libc-commits] [libc] [libc] Implement tmpfile and corresponding tests (PR #213396)
Vadim Kotov via libc-commits
libc-commits at lists.llvm.org
Wed Aug 5 12:01:56 PDT 2026
================
@@ -0,0 +1,37 @@
+//===-- Implementation of tmpfile --------------------------------*- C++ -*-===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#include "src/stdio/tmpfile.h"
+#include "hdr/fcntl_macros.h"
+#include "src/__support/OSUtil/linux/syscall_wrappers/open.h"
+#include "hdr/types/FILE.h"
----------------
vadimkotov wrote:
It looks like currently the implementation does not depend on hdr/stdio_macros.h, is there any particular reason for adding this file?
https://github.com/llvm/llvm-project/pull/213396
More information about the libc-commits
mailing list