DOKK / manpages / debian 12 / allegro4-doc / pack_mgetw.3alleg4.en
pack_mgetw(3alleg4) Allegro manual pack_mgetw(3alleg4)

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

#include <allegro.h>

int pack_mgetw(PACKFILE *f);

Like pack_getc, but reads a 16-bit word from a file, using Motorola byte ordering (most significant byte first, a.k.a. big-endian).

pack_getc(3alleg4)

version 4.4.3 Allegro