1al_fwrite(3) al_fwrite(3)
2
3
4
6 al_fwrite - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 size_t al_fwrite(ALLEGRO_FILE *f, const void *ptr, size_t size)
12
14 Write 'size' bytes from the buffer pointed to by 'ptr' into the given
15 file.
16
17 Returns the number of bytes actually written. If an error occurs, the
18 return value is a short byte count (or zero).
19
21 al_fputc(3), al_fputs(3), al_fwrite16be(3), al_fwrite16le(3),
22 al_fwrite32be(3), al_fwrite32le(3)
23
24
25
26Allegro reference manual al_fwrite(3)