al_fwrite16le - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

size_t al_fwrite16le(ALLEGRO_FILE *f, int16_t w)

Description

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(3)

Referenced By

al_fwrite(3), al_fwrite16be(3).

Allegro reference manual