lzss_write(3)
β¨ lzss_write(3) β¨
okay so bestie, we're deep in the Allegro manual rn and today's main character is lzss_write from the Allegro game programming library π buckle up, this one's short but it squeezes π«Ά
πΈ NAME πΈ
lzss_write β compresses data using LZSS. it's giving Allegro game programming library energy β¨
π SYNOPSIS π
#include <allegro.h>
int lzss_write(PACKFILE *file, LZSS_PACK_DATA *dat, int size, unsigned
char *buf, int last);
π¦ DESCRIPTION π¦
okay so here's the tea β β this function packs size bytes from buf, using the pack information contained in dat. and the compressed bytes? they get stored in file. that's it, that's the whole vibe π
π RETURN VALUE π
it returns 0 on success π or EOF if there was an error π no cap.
fr fr, always check that return value, bestie β EOF is NOT the slay you're looking for π
π SEE ALSO π
and that's the whole page, periodt π this was Allegro version 4.4.3, and you've been reading lzss_write(3) β go compress something iconic, ily, bye πβ¨πΈπ¦
π¦ 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