pack_iputw(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

pack_iputw(3) is straight out of the Allegro manual, bestie β€” and it's giving "write a 16-bit little-endian word to a file" energy. πŸ’–

✨ NAME ✨

  • pack_iputw β€” Like pack_putc(), but using 16-bit Intel byte ordering words. Allegro game programming library. πŸ‘‘

πŸ¦‹ SYNOPSIS πŸ¦‹

okay so the exact signature is right here, no cap:

#include <allegro.h>

int pack_iputw(int c, PACKFILE *f);

πŸ’… DESCRIPTION πŸ’…

Like pack_putc, but this one writes a 16-bit word to a file, using Intel byte ordering β€” that's least significant byte first, a.k.a. little-endian. 🌈

πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ β€” this page is from Allegro version 4.4.3, and it's pack_iputw(3). stay little-endian, bestie 🫢

πŸ“¦ where this page comes from