Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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

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.

Name

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

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.3                                usprintf(3alleg4)

Synopsis

#include<allegro.h>intusprintf(char*buf,constchar*format,...);

See Also