I have been told by a professor that you can get a file\'s last modification time by using utime.h. However, the man page seem to cite that utime()<
You can use the stat system call to get the last access and modification times.