#include <sys/vstat.h>

sys/vstat.h

- @(#)vstat.h
includes: sys/appleapiopts.h, sys/cdefs.h, sys/_types/_fsid_t.h, sys/time.h, sys/attr.h
1 struct

structvstat

size 120, align 8
fsid_tvst_volidvolume identifier
fsobj_id_tvst_nodeidobject's id
fsobj_type_tvst_vnodetypevnode type (VREG, VDIR, etc.)
fsobj_tag_tvst_vnodetagvnode tag (HFS, UFS, etc.)
mode_tvst_modeinode protection mode
nlink_tvst_nlinknumber of hard links
uid_tvst_uiduser ID of the file's owner
gid_tvst_gidgroup ID of the file's group
dev_tvst_devinode's device
dev_tvst_rdevdevice type
struct timespecvst_atimespectime of last access
struct timespecvst_mtimespectime of last data modification
struct timespecvst_ctimespectime of last file status change
off_tvst_filesizefile size, in bytes
quad_tvst_blocksbytes allocated for file
u_int32_tvst_blksizeoptimal blocksize for I/O
u_int32_tvst_flagsuser defined flags for file