time of last file access |
In addition to traditional creation and write time stamps, UNIX Portability introduces the UNIX concept of
"Last File Access Time" . The following attributes are provided:
ATR$C_ACCDATE (POSIX st_atime ) reflects the last time a file was accessed.
ATR$C_ATTDATE (POSIX st_ctime ) reflects the last time a file attribute was modified. UP also
implements modifications to the file header.
ATR$C_ATTDATE (POSIX st_ctime ) reflects the last time a file attribute was modified. UP also
implements modifications to the file header.
ATR$C_MODDATE (POSIX st_mtime ) reflects the last time data was modified.
UNIX Portability also implements modifications to the file header. Modifications to the file header are recorded as
ATTDATE unless the file is actually accessed. The REVDATE ACP/QIO attribute is the most recent
of the MODDATE and ATTDATE timestamps.
A new ACP/QIO attribute returns the stored REVDATE . When a file is closed,
if "norecord " is set, ACCDATE and REVDATE are not altered. Otherwise,
if data has been read from the file, closing a file updates the file's access
date. If data has been written to the file, closing a file updates the file's modification date.
|