刘华世的官方博客
摘要: 最近在写code时,需要频繁使用到stat函数,为了更好的容错和log,就需要利用好st_mode。ok, 先看一下struct stat的结构。struct stat {dev_t st_dev; /* device */ino_t st_ino; /* inode */mode_t st_mode; /* protection */nlink_t st_nlink; /* number of hard links */uid_t st_uid; /* user ID of ... 阅读全文
posted @ 2012-11-28 16:40 pythonschool 阅读(6346) 评论(0) 推荐(0) 编辑
刘华世的官方博客