/freebsd-current/bin/sh/ |
H A D | mail.c | 70 struct stat statb; local 92 if (stat(p, &statb) < 0) 93 statb.st_mtime = 0; 94 if (statb.st_mtime > mailtime[i] && ! silent) { 98 mailtime[i] = statb.st_mtime; 100 if (stat(p, &statb) < 0) 101 statb.st_size = 0; 102 if (statb.st_size > mailtime[i] && ! silent) { 106 mailtime[i] = statb.st_size;
|
H A D | cd.c | 77 struct stat statb; local 116 if (stat(p, &statb) < 0) { 119 } else if (!S_ISDIR(statb.st_mode)) 181 struct stat statb; local 209 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 | 351 struct stat statb; local 404 if (stat(fullname, &statb) < 0) { 410 if (!S_ISREG(statb.st_mode)) 420 if (statb.st_uid == geteuid()) { 421 if ((statb.st_mode & 0100) == 0) 423 } else if (statb.st_gid == getegid()) { 424 if ((statb.st_mode & 010) == 0) 427 if ((statb.st_mode & 01) == 0)
|
/freebsd-current/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-current/usr.bin/mail/ |
H A D | edit.c | 136 struct stat statb; local 157 if (fstat(fileno(nf), &statb) < 0) 160 modtime = statb.st_mtime; 189 if (stat(tempname, &statb) < 0) { 193 if (modtime == statb.st_mtime) {
|
/freebsd-current/libexec/talkd/ |
H A D | process.c | 181 struct stat statb; local 197 if (stat(ftty, &statb) == 0) { 198 if (!(statb.st_mode & 020)) 200 if (statb.st_atime > best) { 201 best = statb.st_atime;
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | sendfile3.sh | 142 struct stat statb; 174 if (stat(inputFile, &statb) != 0) 180 if (sendfile(fd, tcpsock, 0, statb.st_size, NULL, &off, 0) == -1)
|
H A D | sendfile.sh | 135 struct stat statb; 177 if (stat(inputFile, &statb) != 0) 183 if (sendfile(fd, tcpsock, 0, statb.st_size, NULL, &off, 0) == -1)
|
H A D | namecache.sh | 119 struct stat statb; 140 if (stat(dp->d_name, &statb) == -1) {
|
H A D | sendfile12.sh | 155 struct stat statb; 194 if (stat(inputFile, &statb) != 0) 200 if ((cp = mmap(NULL, statb.st_size, PROT_READ | PROT_WRITE, 205 if (sendfile(fd, tcpsock, 0, statb.st_size, NULL, &off, SF_NOCACHE)
|
H A D | sendfile10.sh | 182 struct stat statb; 224 if (fstat(fd, &statb) != 0) 226 share[SZ] = statb.st_size; 227 if (sendfile(fd, tcpsock, 0, statb.st_size, NULL, &off, 0) == -1)
|
H A D | sendfile11.sh | 156 struct stat statb; 194 if (stat(inputFile, &statb) != 0) 200 if (sendfile(fd, tcpsock, 0, statb.st_size, NULL, &off, 0) == -1)
|
H A D | sendfile8.sh | 162 struct stat statb; 201 if (stat(input, &statb) != 0) 207 if (sendfile(fd, tcpsock, 0, statb.st_size, NULL, &off, 0) == -1)
|
H A D | sendfile9.sh | 161 struct stat statb; 200 if (stat(input, &statb) != 0) 206 if (sendfile(fd, tcpsock, 0, statb.st_size, NULL, &off, 0) == -1)
|
H A D | sendfile24.sh | 159 struct stat statb; 197 if (stat(inputFile, &statb) != 0) 203 if (sendfile(fd, tcpsock, 0, statb.st_size, NULL, &off, 0) == -1)
|
H A D | sendfile19.sh | 168 struct stat statb; 210 if (stat(inputFile, &statb) != 0) 216 if (sendfile(fd, tcpsock, 0, statb.st_size, NULL, &off, SF_NOCACHE) == -1)
|
H A D | sendfile20.sh | 169 struct stat statb; 211 if (stat(inputFile, &statb) != 0) 217 if (sendfile(fd, tcpsock, 0, statb.st_size, NULL, &off, SF_NOCACHE) == -1)
|
H A D | sendfile25.sh | 160 struct stat statb; 198 if (stat(inputFile, &statb) != 0) 205 if (sendfile(fd, tcpsock, 0, statb.st_size, NULL, &off, 0) == -1)
|
/freebsd-current/libexec/rbootd/ |
H A D | parseconf.c | 305 struct stat statb; local 333 if (stat(dp->d_name, &statb) < 0 || 334 (statb.st_mode & S_IFMT) != S_IFREG)
|
/freebsd-current/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 | 277 struct stat statb; local 282 if (lstat(spath, &statb) == 0) { 283 switch (statb.st_mode & S_IFMT) { 288 if (stat(spath, &statb) == 0 && /* follow it out */ 289 S_ISDIR(statb.st_mode)) 298 if (statb.st_mode & 0111)
|
/freebsd-current/sbin/fsck_ffs/ |
H A D | setup.c | 368 struct stat statb; local 371 if (stat(dev, &statb) < 0) 373 if ((statb.st_mode & S_IFMT) != S_IFCHR && 374 (statb.st_mode & S_IFMT) != S_IFBLK) { 375 if (bkgrdflag != 0 && (statb.st_flags & SF_SNAPSHOT) == 0) { 380 cursnapshot = statb.st_ino;
|
/freebsd-current/usr.sbin/lpr/lpr/ |
H A D | lpr.c | 99 static struct stat statb; variable in typeref:struct:stat 378 (uintmax_t)statb.st_dev, (uintmax_t)statb.st_ino); 699 if (stat(file, &statb) < 0) { 703 if ((statb.st_mode & S_IFMT) == S_IFDIR) { 707 if (statb.st_size == 0) {
|
/freebsd-current/usr.sbin/lpr/common_source/ |
H A D | displayq.c | 98 struct stat statb; local 123 ret = stat(pp->lock_file, &statb); 126 if (statb.st_mode & LFM_PRINT_DIS) { 140 if (statb.st_mode & LFM_QUEUE_DIS) {
|