table of contents
al_fwrite(3alleg5) Allegro reference manual() | al_fwrite(3alleg5) Allegro reference manual() |
NAME¶
al_fwrite - Allegro 5 APISYNOPSIS¶
-
#include <allegro5/allegro.h> size_t al_fwrite(ALLEGRO_FILE *f, const void *ptr, size_t size)
DESCRIPTION¶
Write 'size' bytes from the buffer pointed to by 'ptr' into the given file.Returns the number of bytes actually written. If an error occurs, the return value is a short byte count (or zero).