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

Michael Jones via libc-commits libc-commits at lists.llvm.org
Fri Jun 7 11:10:15 PDT 2024


================
@@ -24,3 +24,17 @@ add_entrypoint_object(
     libc.src.__support.OSUtil.osutil
     libc.src.errno.errno
 )
+
+add_entrypoint_object(
+  fdopen
+  SRCS
+    fdopen.cpp
+  HDRS
+    ../fdopen.h
+  DEPENDS
+    libc.include.stdio
+    libc.src.errno.errno
+    libc.src.stdio.fseek
----------------
michaelrj-google wrote:

you can remove this dependency on `fseek` now

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


More information about the libc-commits mailing list