al_get_fs_entry_atime(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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