- 论坛徽章:
- 0
|
蜘蛛日记(九)::三个UNIX文件时间ctime,mtime,atime(转)
下面是我man出来的内容,仅供参考!\r\n\r\n st_atime\r\n Time when file data was last accessed. Changed by the\r\n following functions: creat(), mknod(), pipe(),\r\n utime(2), and read(2).\r\n\r\n st_mtime\r\n Time when data was last modified. Changed by the fol-\r\n lowing functions: creat(), mknod(), pipe(), utime(),\r\n and write(2).\r\n\r\n st_ctime\r\n Time when file status was last changed. Changed by the\r\n following functions: chmod(), chown(), creat(),\r\n link(2), mknod(), pipe(), unlink(2), utime(), and\r\n write().\r\n\r\nls显示出的time应该是mtime。 |
|