C vsnprintf()

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);

C Online Test

« Previous Function Next Function »

Like/Share Us on Facebook 😋