[libc-commits] [libc] [libc] Implement fgetpos/fsetpos (PR #221349)

Jeff Bailey via libc-commits libc-commits at lists.llvm.org
Fri Oct 9 04:04:03 PDT 2026


================
@@ -123,6 +123,41 @@ add_generic_entrypoint_object(
     libc.src.__support.File.platform_file
 )
 
+add_generic_entrypoint_object(
+  fgetpos
+  SRCS
+    fgetpos.cpp
+  HDRS
+    ../fgetpos.h
+  DEPENDS
+    libc.hdr.types.FILE
+    libc.hdr.types.fpos_t
+    libc.src.__support.File.file
+    libc.src.__support.libc_errno
+    libc.src.__support.macros.config
----------------
kaladron wrote:

I think macros.config isn't needed, is it, since it's always included?

(Here and below)

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


More information about the libc-commits mailing list