Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
uvsprintf(3)			Allegro	manual			  uvsprintf(3)

NAME
       uvsprintf  -  Writes formatted data into	a buffer, using	variable argu-
       ments. 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  di-
       rectly,	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  overflow
       the destination buffer. Use uvszprintf instead.

RETURN VALUE
       Returns the number of characters	written, not including the terminating
       null character.

SEE ALSO
       uconvert(3), usprintf(3), uvszprintf(3)

Allegro				 version 4.4.3			  uvsprintf(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=uvsprintf&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help