文件的時間(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;
相關文章
相關標籤/搜索