1uvsprintf(3)                    Allegro manual                    uvsprintf(3)
2
3
4

NAME

6       uvsprintf  -  Writes formatted data into a buffer, using variable argu‐
7       ments. Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int uvsprintf(char *buf, const char *format, va_list args);
14

DESCRIPTION

16       This is like usprintf(),  but  you  pass  the  variable  argument  list
17       directly,  instead  of the arguments themselves. You can use this func‐
18       tion to implement printf like functions,  also  called  variadic  func‐
19       tions. You should try to avoid this function because it is very easy to
20       overflow the destination buffer. Use uvszprintf instead.
21

RETURN VALUE

23       Returns the number of characters written, not including the terminating
24       null character.
25
26

SEE ALSO

28       uconvert(3), usprintf(3), uvszprintf(3)
29
30
31
32Allegro                          version 4.4.3                    uvsprintf(3)
Impressum