DOKK / manpages / debian 10 / allegro4-doc / usprintf.3alleg4.en
usprintf(3alleg4) Allegro manual usprintf(3alleg4)

usprintf - Writes formatted data into a buffer. Allegro game programming library.

#include <allegro.h>

int usprintf(char *buf, const char *format, ...);

This function writes formatted data into the output buffer. A NULL character is written to mark the end of the string. You should try to avoid this function because it is very easy to overflow the destination buffer. Use uszprintf instead.

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

uconvert(3alleg4), uszprintf(3alleg4), uvsprintf(3alleg4), exkeys(3alleg4)

version 4.4.2 Allegro