As I know, stat/fstat system call tell us only 3 times about a file
- Time of last access (st_atim field)
- Time of last modification (st_mtim field)
- Time of last status change (st_ctim)
and when I run stat filename
command in bash
, I can get creation time as Birth
of the file. My question is, how can I get creation time in gcc by some system calls?