mdb_vsnprintf() Function

size_t mdb_vsnprintf(char *buf, size_t nbytes, const char *format, va_list alist);

Behaves the same way as mdb_snprintf(). Instead of being called with a variable number of arguments, mdb_vsnprintf() is called with an argument list va_list as defined in the stdarg.h header file.