.\" Automatically generated by Pandoc 3.5 .\" .TH "al_fputc" "3" "" "Allegro reference manual" .SH NAME al_fputc \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] int al_fputc(ALLEGRO_FILE *f, int c) .EE .SH DESCRIPTION Write a single byte to the given file. The byte written is the value of c cast to an unsigned char. .PP Parameters: .IP \[bu] 2 c \- byte value to write .IP \[bu] 2 f \- file to write to .PP Returns the written byte (cast back to an int) on success, or EOF on error.