pack_igetl(3alleg4)
β¨ pack_igetl β the little-endian long getter bestie β¨
okay so this is a page from the Allegro manual (yes, that Allegro, the game programming library, she's iconic π
), and we're talking about pack_igetl today. buckle up.
πΈ NAME πΈ
pack_igetl β it's literally like pack_getc(), except it's doing 32-bit Intel byte ordering words. same energy, bigger snack. π
π¦ SYNOPSIS π¦
#include <allegro.h>
long pack_igetl(PACKFILE *f);
look at her. one argument, one long coming back. main character behaviour fr fr π
π DESCRIPTION π
so bestie, you already know pack_getc, right? this is that, but she reads a 32-bit long from a file instead of a single char. and the way she reads it? Intel byte ordering, which means least significant byte first, a.k.a. little-endian. π§
no cap, that's the whole vibe. little-endian, 32 bits, from a file. periodt.
π SEE ALSO π
pack_getc(3alleg4)β her sister, the one who started it all π«Ά
ngl if you were looking for something complicated, this is not it. she's simple, she's efficient, she ate and left no crumbs π
okay that's the page!! this was Allegro version 4.4.3 bringing you pack_igetl, mwah, love that for us ππβ¨
π¦ 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