]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/sprintf.[ch]: Add x[v]asprintf()
authorAlejandro Colomar <alx@kernel.org>
Fri, 25 Aug 2023 23:27:12 +0000 (01:27 +0200)
committerAlejandro Colomar <alx@kernel.org>
Fri, 20 Oct 2023 19:05:33 +0000 (21:05 +0200)
commit83c8a2d3fa10e26569bee58fc4bdba428a92c786
tree32c89cfff99f05ec70ee8a68d5378da688b858ac
parent7c93e1cdce2a334dc346c7aa564b13cae6d88eb7
lib/sprintf.[ch]: Add x[v]asprintf()

As other x...() wrappers around functions that allocate, these wrappers
are like [v]asprintf(3), but exit on failure.

Reviewed-by: Iker Pedrosa <ipedrosa@redhat.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/Makefile.am
lib/sprintf.c [new file with mode: 0644]
lib/sprintf.h [new file with mode: 0644]