.TH "vsnprintf" 9 "vsnprintf" "25 May 1998" "Kernel Hacker's Manual" LINUX .SH NAME vsnprintf \- Format a string and place it in a buffer .SH SYNOPSIS .B "int" vsnprintf .BI "(char *" buf "," .BI "size_t " size "," .BI "const char *" fmt "," .BI "va_list " args ");" .SH ARGUMENTS .IP "buf" 12 The buffer to place the result into .IP "size" 12 The size of the buffer, including the trailing null space .IP "fmt" 12 The format string to use .IP "args" 12 Arguments for the format string .SH "DESCRIPTION" Call this function if you are already dealing with a va_list. You probably want snprintf instead.