.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "VSPRINTF" "" "06 October 2005" "" "" .SH NAME vsprintf \- Format a string and place it in a buffer .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int vsprintf (char * \fIbuf\fB, const char * \fIfmt\fB, va_list \fIargs\fB); \fR .SH "ARGUMENTS" .TP \fB\fIbuf\fB\fR The buffer to place the result into .TP \fB\fIfmt\fB\fR The format string to use .TP \fB\fIargs\fB\fR Arguments for the format string .SH "DESCRIPTION" .PP Call this function if you are already dealing with a va_list. You probably want sprintf instead.