文件的时间(UNIX环境高级编程笔记)

  使用4个stat函数可以获得文件相关的信息结构。对每个文件维护3个时间字段。 stat 结构体 struct stat {   dev_t st_dev; /* ID of device containing file /   ino_t st_ino; / inode number /   mode_t st_mode; / protection /   nlink_t st_nlink;
相关文章
相关标签/搜索