[libc-commits] [libc] [wip] [libc] Implement vasprintf (PR #98824)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Sat Jul 20 08:11:31 PDT 2024


================
@@ -94,6 +94,10 @@ set(TARGET_LIBC_ENTRYPOINTS
     libc.src.stdlib.calloc
     libc.src.stdlib.realloc
     libc.src.stdlib.free
+
+    # stdio.h external entrypoints
+    libc.src.stdio.vsprintf
----------------
jhuber6 wrote:

I meant 'implemented' sorry. It's not in the `darwin` one so I guess you could add it? But that would probably be a separate path. All the string related `stdio.h` functions should be added to darwin, but we don't have a file IO interface yet, so `sprintf` works but not `printf`.

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


More information about the libc-commits mailing list