.\" Automatically generated by Pandoc 2.2.1 .\" .TH "al_fputc" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_fputc \- Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include\ int\ al_fputc(ALLEGRO_FILE\ *f,\ int\ c) \f[] .fi .SH DESCRIPTION .PP 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.