dev_t st_dev; /* ID of device containing a */
/* directory entry for this file */
ino_t st_ino; /* Inode number */
ushort st_fstype; /* Type of filesystem this file */
/* is in; see sysfs(2) */
ushort st_mode; /* File type, attributes, and */
/* access control summary */
ushort st_basemode /* Permission bits (see chmod(1)) */
ushort st_nlink; /* Number of links */
uid_t st_uid; /* User ID of file owner */
gid_t st_gid; /* Group ID of file group */
dev_t st_rdev; /* Device ID; this entry defined */
/* only for char or blk spec files */
off_t st_size; /* File size (bytes) */
time_t st_atime; /* Time of last access */
time_t st_mtime; /* Last modification time */
time_t st_ctime; /* Last file status change time */
/* Measured in secs since */
/* 00:00:00 GMT, Jan 1, 1970 */
long st_blksize; /* File system block size */
uint st_acl:1; /* Set if the file has optional */
/* access control list entries */
/* HFS File Systems only */作者: kinghood 时间: 2003-04-16 08:24 标题: 请求一个文件的操作办法 有空看看unix高级编程吧作者: 春华 时间: 2003-04-16 20:02 标题: 请求一个文件的操作办法 因为我想将任意一个文件打开后,重新排列,就当是加密.
我学习C是自己看的书,有好多地方不是很明白.
有时候连问问题也问不清楚.
请大哥们见谅,多帮我.
十分感谢大哥们.作者: 54sp 时间: 2003-04-16 22:52 标题: 请求一个文件的操作办法 先自己看书看能不能解决!老问虽然可以解决问题,但终究不是办法!