.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .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[R] .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.