DOKK / manpages / debian 10 / allegro4-doc / pack_igetw.3alleg4.en
pack_igetw(3alleg4) Allegro manual pack_igetw(3alleg4)

pack_igetw - Like pack_getc(), but using 16-bit Intel byte ordering words. Allegro game programming library.

#include <allegro.h>

int pack_igetw(PACKFILE *f);

Like pack_getc, but reads a 16-bit word from a file, using Intel byte ordering (least significant byte first, a.k.a. little-endian).

pack_getc(3alleg4)

version 4.4.2 Allegro