DOKK / manpages / debian 11 / allegro5-doc / al_fwrite32be.3alleg5.en
al_fwrite32be(3alleg5) al_fwrite32be(3alleg5)

al_fwrite32be - Allegro 5 API

#include <allegro5/allegro.h>
size_t al_fwrite32be(ALLEGRO_FILE *f, int32_t l)
    

Writes a 32-bit word in big-endian format (MSB first).

Returns the number of bytes written: 4 on success, less than 4 on an error.

al_fwrite32le(3alleg5)

Allegro reference manual