Query: uvsprintf
OS: osx
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
uvsprintf(3alleg4) Allegro manual uvsprintf(3alleg4) NAME
uvsprintf - Writes formatted data into a buffer, using variable arguments. Allegro game programming library. SYNOPSIS
#include <allegro.h> int uvsprintf(char *buf, const char *format, va_list args); DESCRIPTION
This is like usprintf(), but you pass the variable argument list directly, instead of the arguments themselves. You can use this function to implement printf like functions, also called variadic functions. You should try to avoid this function because it is very easy to over- flow the destination buffer. Use uvszprintf instead. RETURN VALUE
Returns the number of characters written, not including the terminating null character. SEE ALSO
uconvert(3alleg4), usprintf(3alleg4), uvszprintf(3alleg4) Allegro version 4.4.2 uvsprintf(3alleg4)