The vasprintf
function shall write
formatted output to a
dynamically allocated string, and store
the address of that string in the location
referenced by ptr.
It shall behave as asprintf
,
except that instead of being called with a variable number
of arguments, it is called with an argument list as defined
by <stdarg.h>.