uszprintf(3) - Linux man page
Name
uszprintf - Writes formatted data into a buffer, specifying size. Allegro game programming library.Synopsis
#include <allegro.h>int uszprintf(char *buf, int size, const char *format, ...);
Description
This function writes formatted data into the output buffer, whose length in bytes is specified by 'size' and which is guaranteed to be NULL terminated. Example:char buffer[10]; int player_score; ... uszprintf(buffer, sizeof(buffer), "Your score is: %d", player_score);