usprintf(3alleg4) netbsd man page | unix.com

Man Page: usprintf

Operating Environment: netbsd

Section: 3alleg4

usprintf(3alleg4)						  Allegro manual						 usprintf(3alleg4)

NAME
usprintf - Writes formatted data into a buffer. Allegro game programming library.
SYNOPSIS
#include <allegro.h> int usprintf(char *buf, const char *format, ...);
DESCRIPTION
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.
RETURN VALUE
Returns the number of characters written, not including the terminating null character.
SEE ALSO
uconvert(3alleg4), uszprintf(3alleg4), uvsprintf(3alleg4), exkeys(3alleg4) Allegro version 4.4.2 usprintf(3alleg4)
Related Man Pages
uvszprintf(3alleg4) - debian
uvszprintf(3alleg4) - suse
exkeys(3alleg4) - opendarwin
uvszprintf(3alleg4) - netbsd
exkeys(3alleg4) - v7
Similar Topics in the Unix Linux Community
Better to Use Return Code or wc -l Output?
Make bold chars in UNIX
Adding a List of Times
BSD Unix Toolbox: 1000+ Commands for FreeBSD, OpenBSD, and NetBSD
Grep command to show the number of results