.\" Automatically generated by Pandoc 3.1.6.2 .\" .\" 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_fwrite" "3" "" "Allegro reference manual" "" .hy .SH NAME .PP al_fwrite - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include size_t al_fwrite(ALLEGRO_FILE *f, const void *ptr, size_t size) \f[R] .fi .SH DESCRIPTION .PP Write `size' bytes from the buffer pointed to by `ptr' into the given file. .PP Returns the number of bytes actually written. If an error occurs, the return value is a short byte count (or zero). .SH SEE ALSO .PP al_fputc(3), al_fputs(3), al_fwrite16be(3), al_fwrite16le(3), al_fwrite32be(3), al_fwrite32le(3)