vasprintf

Name

vasprintf -- write formatted output to a string dynamically allocated with malloc and store the address of the string

Synopsis

#include <stdio.h>

extern int vasprintf(char **restrict ptr, const char *restrict f, G_va_list arg);

Description

vasprintf writes formatted output to a string dynamically allocated with malloc, and stores the address of the string in ptr.