al_get_fs_entry_mtime(3alleg5)
π al_get_fs_entry_mtime β Allegro 5 API π
okay bestie, welcome to the Allegro 5 reference manual, this is al_get_fs_entry_mtime(3alleg5) and it's literally the moment you've been waiting for π«Ά
β¨ SYNOPSIS β¨
no cap, here's how you call it:
#include <allegro5/allegro.h>
time_t al_get_fs_entry_mtime(ALLEGRO_FS_ENTRY *e)
πΈ DESCRIPTION πΈ
So like. You hand it a filesystem entry and it gives you back a time_t β the time, in seconds since the epoch, since that entry was last modified. that's it. that's the whole vibe. mtime stands for "modification time" iykyk π
bestie note: it's seconds since the epoch, so if you're out here expecting a fancy struct with hours and minutes, that's not this function, that's a whole other era of your life π
π SEE ALSO π
the sister functions, because we don't gatekeep here:
al_get_fs_entry_atime(3alleg5)β the access time one πal_get_fs_entry_ctime(3alleg5)β the change time one β¨al_update_fs_entry(3alleg5)β go refresh that entry first, queen π¦
and that's the whole page, fr fr. this was the Allegro reference manual, page al_get_fs_entry_mtime(3alleg5), and yes the manual header and footer both said al_get_fs_entry_mtime(3alleg5) because that's just the energy it brings π slay, go timestamp something. β
π¦ 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