1al_fread16be(3) Library Functions Manual al_fread16be(3)
2
3
4
6 al_fread16be
7
9 #include <allegro5/allegro.h>
10
11 int16_t al_fread16be(ALLEGRO_FILE *f)
12
14 Reads a 16-bit word in big-endian format (MSB first).
15
16 On success, returns the 16-bit word. On failure, returns EOF (–1).
17 Since –1 is also a valid return value, use al_feof(3) to check if the
18 end of the file was reached prematurely, or al_ferror(3) to check if an
19 error occurred.
20
22 al_fread16le(3)
23
24
25
26Allegro reference manual al_fread16be(3)