ALLEGRO_SEEK(3alleg5)
β¨ ALLEGRO_SEEK β¨
okay bestie, welcome to the Allegro 5 API reference manual, page ALLEGRO_SEEK(3alleg5) π this one is short and sweet and honestly kinda iconic β it's just an enum that tells Allegro where to start counting from when you're moving around in a file π
πΈ NAME πΈ
ALLEGRO_SEEK β the Allegro 5 API enum that picks your seek origin, no cap π
π¦ SYNOPSIS π¦
#include <allegro5/allegro.h>
typedef enum ALLEGRO_SEEK
like, that's the whole vibe. you include the header, and boom, the enum exists π«Ά
π DESCRIPTION π
so ALLEGRO_SEEK is an enum, and every member of it is basically answering the question "where are we measuring from tho??" π here's the whole squad, and yes, this is the complete list, i'm not gatekeeping:
ALLEGRO_SEEK_SETβ seek relative to the beginning of the file π± like, start from the very top, main character energy from page oneALLEGRO_SEEK_CURβ seek relative to the current file position π wherever you're standing right now, that's your origin, periodtALLEGRO_SEEK_ENDβ seek relative to the end of file π yeah we're counting backwards from the finish line, obsessed
that's it. that's the enum. three options, zero drama, all useful π
π SEE ALSO π
al_fseek(3alleg5)β the actual function that uses these bad boys, go read it next fr fr π₯
and that's a wrap, bestie π§π this came straight out of the Allegro reference manual, tagged with version 3alleg5 β shoutout to the ALLEGRO_SEEK(3alleg5) page for being short enough to read in one group-chat scroll πβ¨ luv u, go seek responsibly π
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms