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

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

#include <allegro.h>

int pack_iputw(int c, PACKFILE *f);

Like pack_putc, but writes a 16-bit word to a file, using Intel byte ordering (least significant byte first, a.k.a. little-endian).

pack_putc(3alleg4)

version 4.4.2 Allegro