Searched refs:stat_buf (Results 1 - 4 of 4) sorted by relevance

/freebsd-13-stable/contrib/diff/src/
H A Dcmp.c64 static struct stat stat_buf[2];
293 if (file_desc[f1] < 0 || fstat (file_desc[f1], stat_buf + f1) != 0)
307 if (0 < same_file (&stat_buf[0], &stat_buf[1])
308 && same_file_attributes (&stat_buf[0], &stat_buf[1])
330 && S_ISREG (stat_buf[0].st_mode)
331 && S_ISREG (stat_buf[1].st_mode))
333 off_t s0 = stat_buf[0].st_size - file_position (0);
334 off_t s1 = stat_buf[
63 static struct stat stat_buf[2]; variable in typeref:struct:stat
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/ctime/
H A Dctime.c75 struct stat stat_buf; local
81 if (stat(pfile, &stat_buf) == -1) {
87 *ptr = stat_buf.st_atime;
90 *ptr = stat_buf.st_ctime;
93 *ptr = stat_buf.st_mtime;
/freebsd-13-stable/tests/sys/cddl/zfs/tests/ctime/
H A Dctime_001_pos.c186 struct stat stat_buf; local
192 if (stat(pfile, &stat_buf) == -1) {
198 *ptr = stat_buf.st_atime;
201 *ptr = stat_buf.st_ctime;
204 *ptr = stat_buf.st_mtime;
/freebsd-13-stable/usr.bin/sort/
H A Dfile.c630 struct stat stat_buf; local
641 if (fstat(fd, &stat_buf) < 0) {
646 sz = stat_buf.st_size;

Completed in 101 milliseconds