pack_iputl(3)

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

πŸ’– NAME πŸ’–

pack_iputl β€” it's giving pack_putc() energy but for 32-bit Intel byte ordering words, bestie. Part of the Allegro game programming library ✨


πŸŽ€ SYNOPSIS πŸŽ€

#include <allegro.h>

long pack_iputl(long c, PACKFILE *f);

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so picture pack_putc, right? Iconic. Beloved. But this one? This one writes a 32-bit long to a file instead, and it does it using Intel byte ordering β€” that's least significant byte first, a.k.a. little-endian, iykyk πŸ’…

So like, it's the same vibe as pack_putc, just a whole 32 bits of it, and the bytes come out in that little-endian order. No cap. 🫢


🌸 SEE ALSO 🌸

  • pack_putc(3) β€” go say hi to its sibling fr fr πŸ’œ

And that's the whole page, bestie!! This lil' beauty lives in the <b>Allegro manual</b> and it's serving <b>Allegro version 4.4.3</b> πŸŽ€βœ¨ Slay, go write some longs, mwah πŸ’–

πŸ“¦ where this page comes from