1file_time(3) Allegro manual file_time(3)
2
3
4
6 file_time - Returns the modification time of a file. Allegro game pro‐
7 gramming library.
8
10 #include <allegro.h>
11
12
13 time_t file_time(const char *filename);
14
16 Returns the modification time (number of seconds since 00:00:00 GMT
17 1/1/1970) of a file. If the file does not exist or an error occurs, it
18 will return zero and store the system error code in errno.
19
20
22 file_exists(3), file_size_ex(3)
23
24
25
26Allegro version 4.4.3 file_time(3)