摘要:
#include <unistd.h> #include <signal.h> #include <string.h> #include <sys/wait.h> #include <stdio.h> #define MAXLINE 100 static void sig_int(int); int 阅读全文
posted @ 2021-07-22 13:20
东宫得臣
阅读(64)
评论(0)
推荐(0)
摘要:
对每个文件维护3个时间字段, st_atime 文件数据的最后访问时间(read) st_mtime 文件数据的最后修改时间(write) st_ctime i节点状态的最后更改时间(chmod、chown) 修改时间是文件内容最后一次被修改的时间,状态更改时间是该文件的i节点最后一次被修改的时间。 阅读全文
posted @ 2021-07-22 09:48
东宫得臣
阅读(78)
评论(0)
推荐(0)