Allegro 5 api
#include <allegro5/allegro.h> time_t al_get_fs_entry_atime(ALLEGRO_FS_ENTRY *e)
Returns the time in seconds since the epoch since the entry was last accessed.
Warning: some filesystem either don\[aq]t support this flag, or people turn it off to increase performance. It may not be valid in all circumstances.
al_get_fs_entry_ctime(3alleg5), al_get_fs_entry_mtime(3alleg5), al_update_fs_entry(3alleg5)