C vsnprintf()

« Previous Function Next Function »


The vsnprintf() function is functionally equivalent to the snprintf() function except that the argument list has been replaced by a pointer to a list of arguments. And this pointer must be of type va_list. The va_list is defined in the header <stdarg.h>.

vsnprintf() Syntax

int vsnprintf(char * restrict buf, size_t num, const char * restrict format, va_list arg_ptr);

« Previous Function Next Function »