logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_fputc - Allegro 5 API

Description

       Write a single byte to the given file.  The byte written is the value of c cast to an unsigned char.

       Parameters:

       • c - byte value to write

       • f - file to write to

       Returns the written byte (cast back to an int) on success, or EOF on error.

Allegro reference manual                                                                       al_fputc(3alleg5)

Name

       al_fputc - Allegro 5 API

Synopsis

              #include <allegro5/allegro.h>

              int al_fputc(ALLEGRO_FILE *f, int c)

See Also