#include <sys/vstat.h>
sys/vstat.h
-
@(#)vstat.h
structvstat
| fsid_t | vst_volid | volume identifier |
| fsobj_id_t | vst_nodeid | object's id |
| fsobj_type_t | vst_vnodetype | vnode type (VREG, VDIR, etc.) |
| fsobj_tag_t | vst_vnodetag | vnode tag (HFS, UFS, etc.) |
| mode_t | vst_mode | inode protection mode |
| nlink_t | vst_nlink | number of hard links |
| uid_t | vst_uid | user ID of the file's owner |
| gid_t | vst_gid | group ID of the file's group |
| dev_t | vst_dev | inode's device |
| dev_t | vst_rdev | device type |
| struct timespec | vst_atimespec | time of last access |
| struct timespec | vst_mtimespec | time of last data modification |
| struct timespec | vst_ctimespec | time of last file status change |
| off_t | vst_filesize | file size, in bytes |
| quad_t | vst_blocks | bytes allocated for file |
| u_int32_t | vst_blksize | optimal blocksize for I/O |
| u_int32_t | vst_flags | user defined flags for file |