uszprintf(3alleg4) suse man page | unix.com

Man Page: uszprintf

Operating Environment: suse

Section: 3alleg4

uszprintf(3alleg4)                                                Allegro manual                                                uszprintf(3alleg4)

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);
RETURN VALUE
Returns the number of characters that would have been written without eventual truncation (like with usprintf), not including the terminat- ing null character.
SEE ALSO
uconvert(3alleg4), usprintf(3alleg4), uvszprintf(3alleg4), exgui(3alleg4) Allegro version 4.4.2 uszprintf(3alleg4)
Related Man Pages
textprintf_ex(3alleg4) - centos
textprintf_ex(3alleg4) - suse
textprintf_ex(3alleg4) - mojave
uvszprintf(3alleg4) - linux
uvszprintf(3alleg4) - osx
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Grant unprivileged user rights to see the output of echo|format but not modify disks
Cut command on RHEL 6.8 compatibility issues
Update kernel Linux without reboot?!
A (ksh) Library For and From UNIX.com