Lines Matching defs:statb
65 struct stat32 statb;
69 Pread(Proc, &statb, sizeof (statb), offset) == sizeof (statb)) {
73 statb.st_dev,
74 statb.st_ino,
75 statb.st_mode,
76 statb.st_nlink,
77 statb.st_uid,
78 statb.st_gid);
80 switch (statb.st_mode & S_IFMT) {
83 (void) printf(" rdev=0x%.8X\n", statb.st_rdev);
86 (void) printf(" sz=%u\n", statb.st_size);
90 TIMESPEC32_TO_TIMESPEC(&ts, &statb.st_atim);
92 TIMESPEC32_TO_TIMESPEC(&ts, &statb.st_mtim);
94 TIMESPEC32_TO_TIMESPEC(&ts, &statb.st_ctim);
100 statb.st_blksize,
101 statb.st_blocks,
103 statb.st_fstype);
110 struct stat64_32 statb;
114 Pread(Proc, &statb, sizeof (statb), offset) == sizeof (statb)) {
118 statb.st_dev,
119 (u_longlong_t)statb.st_ino,
120 statb.st_mode,
121 statb.st_nlink,
122 statb.st_uid,
123 statb.st_gid);
125 switch (statb.st_mode & S_IFMT) {
128 (void) printf(" rdev=0x%.8X\n", statb.st_rdev);
131 (void) printf(" sz=%llu\n", (long long)statb.st_size);
135 TIMESPEC32_TO_TIMESPEC(&ts, &statb.st_atim);
137 TIMESPEC32_TO_TIMESPEC(&ts, &statb.st_mtim);
139 TIMESPEC32_TO_TIMESPEC(&ts, &statb.st_ctim);
144 statb.st_blksize,
145 (longlong_t)statb.st_blocks,
147 statb.st_fstype);
155 struct stat64 statb;
158 Pread(Proc, &statb, sizeof (statb), offset) == sizeof (statb)) {
162 statb.st_dev,
163 statb.st_ino,
164 statb.st_mode,
165 statb.st_nlink,
166 statb.st_uid,
167 statb.st_gid);
169 switch (statb.st_mode & S_IFMT) {
172 (void) printf(" rdev=0x%.16lX\n", statb.st_rdev);
175 (void) printf(" sz=%lu\n", statb.st_size);
179 prtimestruc(pri, "at = ", (timestruc_t *)&statb.st_atim);
180 prtimestruc(pri, "mt = ", (timestruc_t *)&statb.st_mtim);
181 prtimestruc(pri, "ct = ", (timestruc_t *)&statb.st_ctim);
186 statb.st_blksize,
187 statb.st_blocks,
189 statb.st_fstype);