logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_fwrite - Allegro 5 API

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).

Name

       al_fwrite - Allegro 5 API

See Also

al_fputc(3alleg5),        al_fputs(3alleg5),        al_fwrite16be(3alleg5),       al_fwrite16le(3alleg5),
       al_fwrite32be(3alleg5), al_fwrite32le(3alleg5)

Allegro reference manual                                                                      al_fwrite(3alleg5)

Synopsis

              #include <allegro5/allegro.h>

              size_t al_fwrite(ALLEGRO_FILE *f, const void *ptr, size_t size)

See Also