pack_iputl(3alleg4)
β¨ pack_iputl β¨
okay bestie, welcome to the Allegro manual π this one's a lil function called pack_iputl, and she is so useful for your Allegro game programming library era π
πΈ NAME πΈ
pack_iputl β it's giving pack_putc(), but for 32-bit Intel byte ordering words π
and yes she lives in the Allegro game programming library, periodt β¨
π¦ SYNOPSIS π¦
#include <allegro.h>
long pack_iputl(long c, PACKFILE *f);
π DESCRIPTION π
so like, lowkey she's the same vibe as pack_putc, except instead of one lil byte she writes a whole 32-bit long to a file π«Ά and the way she does it is with Intel byte ordering β aka least significant byte first, aka little-endian π iykyk
π SEE ALSO π
and that's the whole page, no cap π go forth and write your little-endian longs, main character π
later bestie π¦ this was Allegro, version 4.4.3 β mwah πβ¨
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms