file_time(3)
πΈ NAME πΈ
okay bestie, welcome to the Allegro manual page for file_time(3) β yes, the Allegro game programming library one. π
file_time β Returns the modification time of a file. Allegro game programming library.
π¦ SYNOPSIS π¦
#include <allegro.h>
time_t file_time(const char *filename);
π DESCRIPTION π
So literally, this function returns the modification time of a file β and that time is the number of seconds since 00:00:00 GMT 1/1/1970. iconic timestamp energy, no cap. β°β¨
But bestie, listen: if the file does not exist or an error occurs, it will return zero and store the system error code in errno. so if you get a zero, don't just vibe β go check errno, fr fr. ππ
π SEE ALSO π
file_exists(3), file_size_ex(3)
later bestie!! this was Allegro version 4.4.3, and the page is file_time(3) β mwah ππ«Ά
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms