al_ffblk_get_size(3alleg4)
π al_ffblk_get_size β bestie edition π
okay so this is a page from the Allegro manual, and it's the one about al_ffblk_get_size, a little function living inside the Allegro game programming library. it's giving "small but essential," fr fr πΈ
β¨ NAME β¨
al_ffblk_get_size β get the size of the file that got returned by al_findfirst / al_findnext. yes that's the whole job and she does it flawlessly π
π¦ SYNOPSIS π¦
#include <allegro.h>
uint64_t al_ffblk_get_size(struct al_ffblk *info);
π DESCRIPTION π
so here's the tea π: this one hands you back the size of the file that was returned by al_findfirst or al_findnext. that's it. that's the function. she's not complicated, she's just reliable π
you pass in your struct al_ffblk *info β that same block you got from searching β and boom, you get a uint64_t with the size. no cap. β¨
π SEE ALSO π
al_findfirst(3alleg4)β the one that starts the search πal_findnext(3alleg4)β the one that keeps it going π«Άal_ffblk(3alleg4)β the struct itself, the main character π
ngl, if you're using this function you probably already have your al_ffblk in hand, so go forth and measure those files, queen π
anyway that's the page, short and sweet, we love a concise icon β
π written for Allegro version 4.4.3, mwah, slay, bye bestie π
π¦ 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