al_get_fs_entry_mtime(3alleg5)

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

πŸ’– 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:


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