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

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Sat Jul 20 07:57:57 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:

```suggestion
    libc.src.stdio.asprintf
```
I'm assuming you meant `asprintf`? `vsprintf` is already allocated and is the `va_list` variant of `sprintf`.

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


More information about the libc-commits mailing list