.\" Generated by the Allegro makedoc utility .TH usprintf 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME usprintf \- Writes formatted data into a buffer. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B int usprintf(char *buf, const char *format, ...); .SH 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. .SH "RETURN VALUE" Returns the number of characters written, not including the terminating null character. .SH SEE ALSO .BR uconvert (3alleg4), .BR uszprintf (3alleg4), .BR uvsprintf (3alleg4), .BR exkeys (3alleg4)