[libc-commits] [libc] [libc] Add the implementation of the fdopen function (PR #94186)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Wed Jun 5 16:26:46 PDT 2024


================
@@ -0,0 +1,76 @@
+//===-- Implementation of fprintf -------------------------------*- 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/fdopen.h"
+
+#include "include/llvm-libc-macros/generic-error-number-macros.h"
----------------
michaelrj-google wrote:

use the proxy header (`hdr/errno_macros.h`) instead of directly including the public header. Same for the fcntl macros.

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


More information about the libc-commits mailing list