[libc-commits] [libc] [wip] [libc] Implement vasprintf (PR #98824)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Sat Jul 20 11:04:50 PDT 2024
https://github.com/jhuber6 commented:
I think this is getting pretty close. Could you implement `asprintf` as well? It will simply call into the same interface as `vasprintf` most likely, see `vsprintf` and `sprintf` for example. I would also like some tests that require more `realloc` calls, something like `vasprintf("%200s%200s%200s", "a", "b", "c")` or similar. Also the tests should be using `LIBC_NAMESPACE::free`.
https://github.com/llvm/llvm-project/pull/98824
More information about the libc-commits
mailing list