al_fprintf(3) al_fprintf(3)

al_fprintf - Allegro 5 API

#include <allegro5/allegro.h>
int al_fprintf(ALLEGRO_FILE *pfile, const char *format, ...)

Writes to a file with stdio “printf”-like formatting. Returns the number of bytes written, or a negative number on error.

al_vfprintf(3)

Allegro reference manual