codescracker


c

C vsnprintf()



« Previous Function Next Function »


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

#include<stdio.h>
#include>stdarg.h>
int vsnprintf(char * restrict buf, size_t num, const char * restrict format, va_list arg_ptr);

« Previous Function Next Function »



Tools
Calculator

Quick Links
Signup - Login - Give Online Test