/illumos-gate/usr/src/cmd/mail/ |
H A D | main.c | 45 struct stat statb; in main() local
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | ct.c | 757 struct stat statb; local 759 if (stat (file, &statb) == -1 && errno == ENOENT)
|
/illumos-gate/usr/src/lib/watchmalloc/common/ |
H A D | malloc.c | 1364 struct stat statb; in nowatch() local 1370 else if (fstat(ctlfd, &statb) != 0 || in nowatch() 1371 statb.st_dev != ctlstatb.st_dev || in nowatch() 1372 statb.st_ino != ctlstatb.st_ino) { in nowatch()
|
/illumos-gate/usr/src/lib/libc/port/aio/ |
H A D | posix_aio.c | 776 struct stat statb; in aio_fsync() local 789 if (fstat(aiocbp->aio_fildes, &statb) < 0) in aio_fsync() 1633 struct stat64 statb; in aio_fsync64() local 1646 if (fstat64(aiocbp->aio_fildes, &statb) < 0) in aio_fsync64()
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | cmd2.c | 266 struct stat statb; in savemsglist() local 272 if (stat(file, &statb) >= 0) in savemsglist()
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | mqueue.c | 939 struct stat64 statb; in mq_notify() local 995 if (fstat64(port, &statb) != 0 || in mq_notify() 996 !S_ISPORT(statb.st_mode)) { in mq_notify()
|
/illumos-gate/usr/src/cmd/bart/ |
H A D | rules.c | 622 struct stat64 statb; in add_subtree_rule() local 757 ret = lstat64(current_level->dirname, &statb); in add_subtree_rule()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/newfs/ |
H A D | newfs.c | 1017 struct stat64 statb; in read_sb() local 1022 if (stat64(fsdev, &statb) < 0) in read_sb()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | utilities.c | 1442 struct stat64 statb; in is_errorlocked() local 1451 if (stat64(fs, &statb) < 0) in is_errorlocked() 1454 if (S_ISDIR(statb.st_mode)) { in is_errorlocked() 1456 } else if (S_ISBLK(statb.st_mode) || S_ISCHR(statb.st_mode)) { in is_errorlocked()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | main.c | 274 struct stat statb; in main() local 1712 if (stat(p_pkgmap, &statb) == -1) { in main() 1718 pkgmap_blks = nblk(statb.st_size, svfsb.f_bsize, svfsb.f_frsize); in main()
|
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | dcs.c | 2239 struct stat statb; in is_socket() local 2240 if (fstat(fd, &statb) < 0) { in is_socket() 2243 return (S_ISSOCK(statb.st_mode)); in is_socket()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_db2.c | 826 struct stat statb; in destroy_file_suffix() local 844 if (fstat(fd, &statb) == -1) { in destroy_file_suffix() 859 while (pos < statb.st_size) { in destroy_file_suffix()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rshd.c | 440 struct stat statb; in doit() local 1259 if (stat("/usr/ucb/rdist", &statb) != 0) { in doit()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/inetconv/ |
H A D | inetconv.c | 440 struct stat statb; in valid_inetconfent() local 541 } else if ((stat(iconf->server_program, &statb) == -1) && in valid_inetconfent()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | xec.c | 1315 struct stat statb; in sh_exec() local 1319 memset(&statb, 0, sizeof(struct stat)); in sh_exec() 1361 stat(".",&statb); in sh_exec() 1445 if(statb.st_ino!=stata.st_ino || statb.st_dev!=stata.st_dev) in sh_exec() 4015 struct stat statb; in sh_ntfork() local 4017 if(stat(devfd=sfstruse(shp->strbuf),&statb)>=0) in sh_ntfork()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | readcf.c | 105 struct stat statb; local 128 if (fstat(sm_io_getinfo(cf, SM_IO_WHAT_FD, NULL), &statb) < 0) 134 if (!S_ISREG(statb.st_mode)) 140 if (OpMode != MD_TEST && bitset(S_IWGRP|S_IWOTH, statb.st_mode))
|
H A D | queue.c | 5935 struct stat statb; local 5943 if (lstat(name, &statb) < 0) 5945 if (stat(name, &statb) < 0) 5954 if (S_ISLNK(statb.st_mode)) 5961 if (stat(name, &statb) < 0) 5971 if (!S_ISDIR(statb.st_mode))
|
/illumos-gate/usr/src/cmd/mv/ |
H A D | mv.c | 1244 struct stat statb, s1save; in rcopy() local 1248 if (fold == 0 || ((pflg || mve) && fstat(fold->dd_fd, &statb) < 0)) { in rcopy()
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 2104 struct stat statb; in writetodev() local 2120 if (fstat(ttyf, &statb) != 0) { in writetodev() 2125 } else if (!(statb.st_mode & S_IWRITE)) { in writetodev() 2135 } else if (getpwuid_r(statb.st_uid, &pw, pwbuf, in writetodev()
|
/illumos-gate/usr/src/cmd/cpio/ |
H A D | cpio.c | 1046 struct stat statb; in chgreel() local 1049 if (fstat(Archive, &statb) < 0) in chgreel() 1051 if ((statb.st_mode & S_IFMT) != S_IFCHR) { in chgreel()
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_event.c | 1202 long statb; in aui_fstatat() member
|