#include <sys/stat.h>文件状态
2016-07-11 08:49
399 查看
#include<sys/stat.h>
文件状态,
是unix/linux系统定义文件状态所在的伪标准头文件。
含有类型与函数:
dev_t st_dev Device ID of device containing file.
ino_t st_ino File serial number.
mode_t st_mode Modeof file (see below).
nlink_t st_nlink Number of hard linksto the file.
uid_t st_uid User ID of file.
gid_t st_gid Group ID of file.
dev_t st_rdev Device ID (if file is character or block special).
off_t st_size Forregular files, the file size in bytes.
For symbolic links, the length in bytes of the
pathname contained in the symbolic link.
文件状态,
是unix/linux系统定义文件状态所在的伪标准头文件。
含有类型与函数:
dev_t st_dev Device ID of device containing file.
ino_t st_ino File serial number.
mode_t st_mode Modeof file (see below).
nlink_t st_nlink Number of hard linksto the file.
uid_t st_uid User ID of file.
gid_t st_gid Group ID of file.
dev_t st_rdev Device ID (if file is character or block special).
off_t st_size Forregular files, the file size in bytes.
For symbolic links, the length in bytes of the
pathname contained in the symbolic link.
相关文章推荐
- SQL的增删改查(详解)
- #include<xxxx.h>与#include<sys/xxx.h>区别
- 深入浅出 RPC - 深入篇
- nhibernate 3.x新特性
- ASP.NET SessionState 解惑
- 文件和目录之stat族函数<stat | fstat | lstat | fstatat>——APUE学习笔记(2)
- 在Eclipse中配置struts2有2种
- Apache Tiles的基本使用
- string 类型字符替换
- fstatat()函数 Unix/Linux
- C语言lstat()函数:由文件描述词取得文件状态
- jenkins集成ansible注意事项Failed to connect to the host via ssh.
- lstat()
- Android资源网站
- C语言fstat()函数:由文件描述词取得文件状态
- 阴影消除研究
- css简单样式
- fstat函数及struct stat结构
- UITextView的placehoder实现带并限制100字
- Android第三十天