/freebsd-10-stable/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 127 if (stat(p, &statb) < 0) { 130 } else if (!S_ISDIR(statb.st_mode)) 182 struct stat statb; local 210 if (lstat(stackblock(), &statb) < 0) {
|
H A D | main.c | 294 struct stat statb; local 301 if ((stat(fullname, &statb) == 0) && S_ISREG(statb.st_mode)) {
|
H A D | exec.c | 325 struct stat statb; local 378 if (stat(fullname, &statb) < 0) { 384 if (!S_ISREG(statb.st_mode)) 395 if (statb.st_uid == geteuid()) { 396 if ((statb.st_mode & 0100) == 0) 398 } else if (statb.st_gid == getegid()) { 399 if ((statb.st_mode & 010) == 0) 402 if ((statb.st_mode & 01) == 0)
|
H A D | expand.c | 1150 struct stat statb; local 1207 if (metaflag == 0 || lstat(expdir, &statb) >= 0)
|
/freebsd-10-stable/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-10-stable/crypto/heimdal/lib/roken/ |
H A D | getusershell.c | 125 struct stat statb; local 153 if (fstat(fileno(fp), &statb) == -1) { 157 if ((strings = malloc((u_int)statb.st_size)) == NULL) { 161 shells = calloc((unsigned)statb.st_size / 3, sizeof (char *));
|
/freebsd-10-stable/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 | 394 struct stat statb; local 423 if (stat(mailname, &statb) >= 0 && statb.st_size > mailsize) {
|
/freebsd-10-stable/libexec/talkd/ |
H A D | process.c | 187 struct stat statb; local 203 if (stat(ftty, &statb) == 0) { 204 if (!(statb.st_mode & 020)) 206 if (statb.st_atime > best) { 207 best = statb.st_atime;
|
/freebsd-10-stable/libexec/rbootd/ |
H A D | parseconf.c | 313 struct stat statb; local 341 if (stat(dp->d_name, &statb) < 0 || 342 (statb.st_mode & S_IFMT) != S_IFREG)
|
/freebsd-10-stable/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-10-stable/contrib/tcsh/ |
H A D | tw.parse.c | 2027 struct stat statb; local 2035 if (lstat(ptr, &statb) != -1) { 2037 if (S_ISLNK(statb.st_mode)) { /* Symbolic link */ 2039 if (stat(ptr, &statb) == -1) 2041 else if (S_ISDIR(statb.st_mode)) 2051 if (S_ISSOCK(statb.st_mode)) /* Socket */ 2055 if (S_ISFIFO(statb.st_mode)) /* Named Pipe */ 2059 if (S_ISHIDDEN(statb.st_mode)) /* Hidden Directory [aix] */ 2076 if (S_ISNWK(statb.st_mode)) /* Network Special [hpux] */ 2080 if (S_ISCHR(statb 2110 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) { 180 if (statb.st_mode & mode)
|
/freebsd-10-stable/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-10-stable/usr.sbin/lpr/lpr/ |
H A D | lpr.c | 112 static struct stat statb; variable in typeref:struct:stat 391 statb.st_dev, (uintmax_t)statb.st_ino); 713 if (stat(file, &statb) < 0) { 717 if ((statb.st_mode & S_IFMT) == S_IFDIR) { 721 if (statb.st_size == 0) {
|
/freebsd-10-stable/usr.sbin/lpr/common_source/ |
H A D | displayq.c | 104 struct stat statb; local 129 ret = stat(pp->lock_file, &statb); 132 if (statb.st_mode & LFM_PRINT_DIS) { 146 if (statb.st_mode & LFM_QUEUE_DIS) {
|
/freebsd-10-stable/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-10-stable/contrib/sendmail/src/ |
H A D | queue.c | 5957 struct stat statb; local 5965 if (lstat(name, &statb) < 0) 5967 if (stat(name, &statb) < 0) 5976 if (S_ISLNK(statb.st_mode)) 5983 if (stat(name, &statb) < 0) 5993 if (!S_ISDIR(statb.st_mode))
|
H A D | readcf.c | 151 struct stat statb; local 187 if (fstat(sm_io_getinfo(cf, SM_IO_WHAT_FD, NULL), &statb) < 0) 193 if (!S_ISREG(statb.st_mode)) 199 if (OpMode != MD_TEST && bitset(S_IWGRP|S_IWOTH, statb.st_mode))
|
/freebsd-10-stable/contrib/libpcap/ |
H A D | pcap-linux.c | 1877 struct stat statb; local 1944 if (lstat(subsystem_path, &statb) != 0) {
|