/freebsd-9.3-release/bin/sh/ |
H A D | mail.c | 79 struct stat statb; local 98 if (stat(p, &statb) < 0) 99 statb.st_mtime = 0; 100 if (statb.st_mtime > mailtime[i] && ! silent) { 104 mailtime[i] = statb.st_mtime; 106 if (stat(p, &statb) < 0) 107 statb.st_size = 0; 108 if (statb.st_size > mailtime[i] && ! silent) { 112 mailtime[i] = statb.st_size;
|
H A D | cd.c | 87 struct stat statb; local 133 if (stat(p, &statb) < 0) { 136 } else if (!S_ISDIR(statb.st_mode)) 188 struct stat statb; local 217 if (lstat(stackblock(), &statb) < 0) {
|
H A D | main.c | 287 struct stat statb; local 294 if ((stat(fullname, &statb) == 0) && S_ISREG(statb.st_mode)) {
|
H A D | exec.c | 325 struct stat statb; local 387 if (stat(fullname, &statb) < 0) { 393 if (!S_ISREG(statb.st_mode)) 404 if (statb.st_uid == geteuid()) { 405 if ((statb.st_mode & 0100) == 0) 407 } else if (statb.st_gid == getegid()) { 408 if ((statb.st_mode & 010) == 0) 411 if ((statb.st_mode & 01) == 0)
|
H A D | expand.c | 1187 struct stat statb; local 1243 if (metaflag == 0 || lstat(expdir, &statb) >= 0)
|
/freebsd-9.3-release/contrib/bind9/lib/isc/unix/ |
H A D | fsaccess.c | 37 struct stat statb; local 43 if (stat(path, &statb) != 0) 46 if ((statb.st_mode & S_IFDIR) != 0) 48 else if ((statb.st_mode & S_IFREG) == 0)
|
/freebsd-9.3-release/contrib/ntp/lib/isc/unix/ |
H A D | fsaccess.c | 37 struct stat statb; local 43 if (stat(path, &statb) != 0) 46 if ((statb.st_mode & S_IFDIR) != 0) 48 else if ((statb.st_mode & S_IFREG) == 0)
|
/freebsd-9.3-release/crypto/heimdal/lib/roken/ |
H A D | getusershell.c | 129 struct stat statb; local 157 if (fstat(fileno(fp), &statb) == -1) { 161 if ((strings = malloc((u_int)statb.st_size)) == NULL) { 165 shells = calloc((unsigned)statb.st_size / 3, sizeof (char *));
|
/freebsd-9.3-release/usr.bin/mail/ |
H A D | edit.c | 142 struct stat statb; local 163 if (fstat(fileno(nf), &statb) < 0) 166 modtime = statb.st_mtime; 195 if (stat(tempname, &statb) < 0) { 199 if (modtime == statb.st_mtime) {
|
H A D | quit.c | 393 struct stat statb; local 422 if (stat(mailname, &statb) >= 0 && statb.st_size > mailsize) {
|
/freebsd-9.3-release/libexec/talkd/ |
H A D | process.c | 193 struct stat statb; local 209 if (stat(ftty, &statb) == 0) { 210 if (!(statb.st_mode & 020)) 212 if (statb.st_atime > best) { 213 best = statb.st_atime;
|
/freebsd-9.3-release/libexec/rbootd/ |
H A D | parseconf.c | 317 struct stat statb; local 345 if (stat(dp->d_name, &statb) < 0 || 346 (statb.st_mode & S_IFMT) != S_IFREG)
|
/freebsd-9.3-release/contrib/tcsh/ |
H A D | tw.parse.c | 2023 struct stat statb; local 2031 if (lstat(ptr, &statb) != -1) { 2033 if (S_ISLNK(statb.st_mode)) { /* Symbolic link */ 2035 if (stat(ptr, &statb) == -1) 2037 else if (S_ISDIR(statb.st_mode)) 2047 if (S_ISSOCK(statb.st_mode)) /* Socket */ 2051 if (S_ISFIFO(statb.st_mode)) /* Named Pipe */ 2055 if (S_ISHIDDEN(statb.st_mode)) /* Hidden Directory [aix] */ 2072 if (S_ISNWK(statb.st_mode)) /* Network Special [hpux] */ 2076 if (S_ISCHR(statb 2106 struct stat statb; local [all...] |
H A D | sh.file.c | 280 struct stat statb; local 285 if (lstat(spath, &statb) == 0) { 286 switch (statb.st_mode & S_IFMT) { 291 if (stat(spath, &statb) == 0 && /* follow it out */ 292 S_ISDIR(statb.st_mode)) 301 if (statb.st_mode & 0111)
|
H A D | sh.exp.c | 91 struct stat statb; local 117 if (stat(name, &statb) == -1) 122 if (S_ISDIR(statb.st_mode) && mode == X_OK) 141 else if (euid == statb.st_uid) 144 else if (egid == statb.st_gid) 171 if (groups[n] == statb.st_gid) { 179 if (statb.st_mode & mode)
|
/freebsd-9.3-release/sbin/fsck_ffs/ |
H A D | setup.c | 75 struct stat statb; local 82 if (stat(dev, &statb) < 0) { 90 if ((statb.st_mode & S_IFMT) != S_IFCHR && 91 (statb.st_mode & S_IFMT) != S_IFBLK) { 92 if (bkgrdflag != 0 && (statb.st_flags & SF_SNAPSHOT) == 0) { 97 if ((statb.st_flags & SF_SNAPSHOT) != 0 && cvtlevel == 0) { 98 cursnapshot = statb.st_ino; 101 (statb.st_flags & SF_SNAPSHOT) == 0) {
|
/freebsd-9.3-release/contrib/ntp/lib/isc/win32/ |
H A D | fsaccess.c | 300 struct stat statb; local 304 if (stat(path, &statb) != 0) 307 if ((statb.st_mode & S_IFDIR) != 0) 309 else if ((statb.st_mode & S_IFREG) == 0)
|
/freebsd-9.3-release/lib/libc/gen/ |
H A D | opendir.c | 69 struct stat statb; local 72 if (_fstat(fd, &statb) != 0) 74 if (!S_ISDIR(statb.st_mode)) {
|
/freebsd-9.3-release/usr.sbin/lpr/lpr/ |
H A D | lpr.c | 111 static struct stat statb; variable in typeref:struct:stat 389 (void) snprintf(buf, sizeof(buf), "%u %u", statb.st_dev, 390 statb.st_ino); 712 if (stat(file, &statb) < 0) { 716 if ((statb.st_mode & S_IFMT) == S_IFDIR) { 720 if (statb.st_size == 0) {
|
/freebsd-9.3-release/usr.sbin/lpr/common_source/ |
H A D | displayq.c | 105 struct stat statb; local 130 ret = stat(pp->lock_file, &statb); 133 if (statb.st_mode & LFM_PRINT_DIS) { 147 if (statb.st_mode & LFM_QUEUE_DIS) {
|
/freebsd-9.3-release/contrib/cvs/diff/ |
H A D | diff3.c | 277 struct stat statb; 423 if (stat (file[i], &statb) < 0) 428 else if (S_ISDIR(statb.st_mode)) 275 struct stat statb; local
|
/freebsd-9.3-release/contrib/diff/src/ |
H A D | diff3.c | 229 struct stat statb; 365 if (stat (file[i], &statb) < 0) 367 else if (S_ISDIR (statb.st_mode)) 227 struct stat statb; local
|
/freebsd-9.3-release/contrib/sendmail/src/ |
H A D | queue.c | 5958 struct stat statb; local 5966 if (lstat(name, &statb) < 0) 5968 if (stat(name, &statb) < 0) 5977 if (S_ISLNK(statb.st_mode)) 5984 if (stat(name, &statb) < 0) 5994 if (!S_ISDIR(statb.st_mode))
|
H A D | readcf.c | 106 struct stat statb; local 137 if (fstat(sm_io_getinfo(cf, SM_IO_WHAT_FD, NULL), &statb) < 0) 143 if (!S_ISREG(statb.st_mode)) 149 if (OpMode != MD_TEST && bitset(S_IWGRP|S_IWOTH, statb.st_mode))
|
/freebsd-9.3-release/contrib/libpcap/ |
H A D | pcap-linux.c | 1877 struct stat statb; local 1944 if (lstat(subsystem_path, &statb) != 0) {
|