al_fwrite32le

size_t al_fwrite32le(ALLEGRO_FILE *f, int32_t l)
Introduced in 5.0.0

Writes a 32-bit word in little-endian format (LSB first).

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

See also: al_fwrite32be

Examples: ex_memfile


Most helpful discussions: