#include <sys/stat.h>

sys/stat.h Kernel.framework

includes: sys/_types.h, sys/cdefs.h, machine/types.h, Kernel/sys/_types/_timespec.h, sys/_types/_user64_timespec.h, sys/_types/_user32_timespec.h, Kernel/sys/_types/_blkcnt_t.h, Kernel/sys/_types/_blksize_t.h, Kernel/sys/_types/_dev_t.h, Kernel/sys/_types/_ino_t.h, Kernel/sys/_types/_ino64_t.h, Kernel/sys/_types/_mode_t.h, Kernel/sys/_types/_nlink_t.h, Kernel/sys/_types/_uid_t.h, Kernel/sys/_types/_gid_t.h, Kernel/sys/_types/_off_t.h, Kernel/sys/_types/_time_t.h, Kernel/sys/_types/_s_ifmt.h
3 macros · 2 structs

structstat

size 120, align 8
dev_tst_dev[XSI] ID of device containing file
ino_tst_ino[XSI] File serial number
mode_tst_mode[XSI] Mode of file (see below)
nlink_tst_nlink[XSI] Number of hard links
uid_tst_uid[XSI] User ID of the file
gid_tst_gid[XSI] Group ID of the file
dev_tst_rdev[XSI] Device ID
struct timespecst_atimespectime of last access
struct timespecst_mtimespectime of last data modification
struct timespecst_ctimespectime of last status change
off_tst_size[XSI] file size, in bytes
blkcnt_tst_blocks[XSI] blocks allocated for file
blksize_tst_blksize[XSI] optimal blocksize for I/O
__uint32_tst_flagsuser defined flags for file
__uint32_tst_genfile generation number
__int32_tst_lspareRESERVED: DO NOT USE!
__int64_t[2]st_qspareRESERVED: DO NOT USE!

structstat64

size 144, align 8
dev_tst_dev[XSI] ID of device containing file
mode_tst_mode[XSI] Mode of file (see below)
nlink_tst_nlink[XSI] Number of hard links
__darwin_ino64_tst_ino[XSI] File serial number
uid_tst_uid[XSI] User ID of the file
gid_tst_gid[XSI] Group ID of the file
dev_tst_rdev[XSI] Device ID
struct timespecst_atimespec
struct timespecst_mtimespec
struct timespecst_ctimespec
struct timespecst_birthtimespec
off_tst_size[XSI] file size, in bytes
blkcnt_tst_blocks[XSI] blocks allocated for file
blksize_tst_blksize[XSI] optimal blocksize for I/O
__uint32_tst_flagsuser defined flags for file
__uint32_tst_genfile generation number
__int32_tst_lspareRESERVED: DO NOT USE!
__int64_t[2]st_qspareRESERVED: DO NOT USE!

macroOPAQUE

Shorthand abbreviations of above.
#define OPAQUE (UF_OPAQUE)

macroAPPEND

#define APPEND (UF_APPEND | SF_APPEND)

macroIMMUTABLE

#define IMMUTABLE (UF_IMMUTABLE | SF_IMMUTABLE)