pack_mputw(3)
β¨ pack_mputw(3) β¨
okay bestie, gather round, because we're talking about pack_mputw from the Allegro manual β yes, that Allegro, the game programming library π this one lives in section 3 of the manual, so it's a library function, not a command. iykyk.
πΈ NAME πΈ
pack_mputw β it's giving pack_putc(), but for 16-bit Motorola byte ordering words. literally the Allegro game programming library, slaying as always π
π SYNOPSIS π
#include <allegro.h>
int pack_mputw(int c, PACKFILE *f);
π¦ DESCRIPTION π¦
so the vibe here is: it's like pack_putc, except instead of one lil byte it writes a whole 16-bit word out to a file. π
and the way it orders those bytes?? Motorola byte ordering β meaning the most significant byte comes first, a.k.a. big-endian. no cap. big-endian girlies stay winning π
π SEE ALSO π
pack_putc(3)β the byte-sized sibling, go say hi π«Ά
that's the whole page, babe β short and iconic, main character energy fr fr β¨
and yes, before you ask: this is Allegro, version 4.4.3, so jot that down in your notes app π sending u love from the Allegro crew, mwah πππ¦
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms