al_get_fs_entry_atime(3alleg5)
β¨ al_get_fs_entry_atime β¨
okay bestie, welcome to the Allegro reference manual π β yes, that Allegro, the 5 API one, and today we're decoding al_get_fs_entry_atime together. grab a strawberry π and let's go.
πΈ NAME πΈ
al_get_fs_entry_atime β it's giving Allegro 5 API, and it's here to tell you when a filesystem entry was last touched π
π SYNOPSIS π
#include <allegro5/allegro.h>
time_t al_get_fs_entry_atime(ALLEGRO_FS_ENTRY *e)
like yes, that's the whole vibe. one include, one function, one pointer to an ALLEGRO_FS_ENTRY π
π¦ DESCRIPTION π¦
so basically, this function returns the time in seconds since the epoch since the entry was last accessed. that's it. that's the tea. β¨
the return type is time_t, the unit is seconds, and the starting point is the epoch β so if you were hoping for a cute little human-readable date string, no ma'am, do the math yourself π
β οΈ Warning: some filesystems either don't support this flag, or people turn it off to increase performance. It may not be valid in all circumstances. so likeβ¦ don't trust it blindly, okay? it's not lying to you on purpose, it just might not know. π no cap, treat this value with a lil suspicion.
π SEE ALSO π
the whole friend group, obviously:
go read those too, they're iconic in their own right π«Ά
and that's the page, bestie!! π this was the Allegro reference manual version of al_get_fs_entry_atime(3alleg5) β same facts, way more sparkle β¨ mwah, go access some files 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