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

Write formatted output to a string dynamically allocated with malloc.

Store the address of the string in *ptr.