1al_fread16le(3)                                                al_fread16le(3)
2
3
4

NAME

6       al_fread16le - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              int16_t al_fread16le(ALLEGRO_FILE *f)
12

DESCRIPTION

14       Reads a 16-bit word in little-endian format (LSB 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

SEE ALSO

22       al_fread16be(3)
23
24
25
26Allegro reference manual                                       al_fread16le(3)
Impressum