摘要:
1、文件与其元数据Linux获取文件状态的时候会把其相关的元数据放在stat结构中,如下:struct stat { dev_t st_dev; //文件设备节点 ino_t st_ino; //ino mode_t st_mode; //文件模式 nlink_t st_nlink; //硬链接数目 uid_t st_uid; //用户ID gid_t st_gid; //组ID dev_t st_rdev; //如果是设备,设备编号 ... 阅读全文
posted @ 2011-10-19 16:18
GG大婶
阅读(1316)
评论(0)
推荐(0)

浙公网安备 33010602011771号