al_fwrite16le

size_t al_fwrite16le(ALLEGRO_FILE *f, int16_t w)
Introduced in 5.0.0

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

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

See also: al_fwrite16be


Most helpful discussions: