utimbuf

Contains when the file was last accessed and modified

Service:File and Directory I/O

Structure

  #include <utime.h>
  
  struct utimbuf
  {
     time_t   actime; 
     time_t   modtime; 
  };
  

Fields

actime

Specifies the last time the file was accessed. Time is specified in seconds since the epoch.

modtime

Specifies the last time the file was modified. Time is specified in seconds since the epoch.