Home
last modified time | relevance | path

Searched refs:st_buf (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/tools/protocmp/
H A Dprotocmp.c545 struct stat st_buf; in read_in_file() local
548 if (stat(file_name, &st_buf) == 0) { in read_in_file()
549 if (S_ISREG(st_buf.st_mode)) { in read_in_file()
555 } else if (S_ISDIR(st_buf.st_mode)) { in read_in_file()
691 struct stat st_buf; in main() local
768 if (stat(argv[optind], &st_buf) == -1) { in main()
772 if (!S_ISDIR(st_buf.st_mode)) { in main()
H A Dprotodir.c637 struct stat st_buf; in process_package_dir() local
658 if (stat(protofile, &st_buf) < 0) { in process_package_dir()
662 if (stat(protofile, &st_buf) < 0) { in process_package_dir()
700 struct stat st_buf; in read_in_protodir() local
728 if (stat(protodir, &st_buf) < 0) { in read_in_protodir()
732 if (!S_ISDIR(st_buf.st_mode)) { in read_in_protodir()
/titanic_41/usr/src/cmd/fs.d/ufs/volcopy/
H A Dvolcopy.c200 struct stat64 st_buf; in g_init() local
204 if (fstat64(*fdes, &st_buf) == -1) in g_init()
206 if (!S_ISCHR(st_buf.st_mode) && !S_ISBLK(st_buf.st_mode)) { in g_init()
207 if (S_ISFIFO(st_buf.st_mode)) in g_init()
/titanic_41/usr/src/cmd/svc/svcs/
H A Dsvcs.c1644 char st_buf[STIME_COLUMN_WIDTH + 1]; in sprint_stime() local
1674 (void) strftime(st_buf, sizeof (st_buf), in sprint_stime()
1677 (void) strftime(st_buf, sizeof (st_buf), in sprint_stime()
1680 (void) strftime(st_buf, sizeof (st_buf), in sprint_stime()
1684 STIME_COLUMN_WIDTH + 1, st_buf); in sprint_stime()
/titanic_41/usr/src/cmd/geniconvtbl/
H A Dassemble.c903 struct stat st_buf; in output() local
914 switch (stat(itm_output_file, &st_buf)) { in output()
/titanic_41/usr/src/cmd/cpio/
H A Dcpio.c7871 struct stat st_buf; in g_init() local
7876 if (fstat(*fdes, &st_buf) == -1) in g_init()
7878 if (!S_ISCHR(st_buf.st_mode) && !S_ISBLK(st_buf.st_mode)) { in g_init()
7879 if (S_ISFIFO(st_buf.st_mode)) { in g_init()
7897 } else if (st_buf.st_dev & 0x8000) /* if remote rdev */ in g_init()