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

/illumos-gate/usr/src/tools/protocmp/
H A Dprotocmp.c545 struct stat st_buf; local
548 if (stat(file_name, &st_buf) == 0) {
549 if (S_ISREG(st_buf.st_mode)) {
555 } else if (S_ISDIR(st_buf.st_mode)) {
691 struct stat st_buf; local
768 if (stat(argv[optind], &st_buf) == -1) {
772 if (!S_ISDIR(st_buf.st_mode)) {
H A Dprotodir.c637 struct stat st_buf; local
658 if (stat(protofile, &st_buf) < 0) {
662 if (stat(protofile, &st_buf) < 0) {
700 struct stat st_buf; local
728 if (stat(protodir, &st_buf) < 0) {
732 if (!S_ISDIR(st_buf.st_mode)) {
/illumos-gate/usr/src/cmd/fs.d/ufs/volcopy/
H A Dvolcopy.c198 struct stat64 st_buf; local
202 if (fstat64(*fdes, &st_buf) == -1)
204 if (!S_ISCHR(st_buf.st_mode) && !S_ISBLK(st_buf.st_mode)) {
205 if (S_ISFIFO(st_buf.st_mode))
/illumos-gate/usr/src/cmd/svc/svcs/
H A Dsvcs.c1630 char st_buf[STIME_COLUMN_WIDTH + 1]; local
1660 (void) strftime(st_buf, sizeof (st_buf),
1663 (void) strftime(st_buf, sizeof (st_buf),
1666 (void) strftime(st_buf, sizeof (st_buf),
1670 STIME_COLUMN_WIDTH + 1, st_buf);
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Dassemble.c903 struct stat st_buf; local
914 switch (stat(itm_output_file, &st_buf)) {
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c7870 struct stat st_buf; local
7875 if (fstat(*fdes, &st_buf) == -1)
7877 if (!S_ISCHR(st_buf.st_mode) && !S_ISBLK(st_buf.st_mode)) {
7878 if (S_ISFIFO(st_buf.st_mode)) {
7896 } else if (st_buf.st_dev & 0x8000) /* if remote rdev */

Completed in 208 milliseconds