/freebsd-10.0-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 127 if (stat(p, &statb) < 0) { 130 } else if (!S_ISDIR(statb.st_mode)) 182 struct stat statb; local 211 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 | 324 struct stat statb; local 377 if (stat(fullname, &statb) < 0) { 383 if (!S_ISREG(statb.st_mode)) 394 if (statb.st_uid == geteuid()) { 395 if ((statb.st_mode & 0100) == 0) 397 } else if (statb.st_gid == getegid()) { 398 if ((statb.st_mode & 010) == 0) 401 if ((statb.st_mode & 01) == 0)
|
H A D | expand.c | 1171 struct stat statb; local 1228 if (metaflag == 0 || lstat(expdir, &statb) >= 0)
|
/freebsd-10.0-release/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.0-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-10.0-release/libexec/talkd/ |
H A D | process.c | 191 struct stat statb; local 207 if (stat(ftty, &statb) == 0) { 208 if (!(statb.st_mode & 020)) 210 if (statb.st_atime > best) { 211 best = statb.st_atime;
|
/freebsd-10.0-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-10.0-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-10.0-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-10.0-release/lib/libc/gen/ |
H A D | opendir.c | 70 struct stat statb; local 73 if (_fstat(fd, &statb) != 0) 75 if (!S_ISDIR(statb.st_mode)) {
|
/freebsd-10.0-release/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.0-release/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.0-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-10.0-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-10.0-release/contrib/libpcap/ |
H A D | pcap-linux.c | 1877 struct stat statb; local 1944 if (lstat(subsystem_path, &statb) != 0) {
|