/macosx-10.9.5/autofs-234/automountlib/ |
H A D | we_are_a_server.c | 36 struct stat statb; local 44 &statb) == 0)
|
/macosx-10.9.5/ksh-20/ksh/src/cmd/ksh93/sh/ |
H A D | suid_exec.c | 95 static struct stat statb; variable in typeref:struct:stat 130 if(fstat(FDVERIFY,&statb) < 0 || statb.st_uid != 0 || 131 (statb.st_mode & ~S_IFMT) != SPECIAL || close(FDVERIFY)<0) 138 if(stat(tmpname,&statb) < 0 || statb.st_nlink != 1 || 139 !S_ISREG(statb.st_mode)) 142 ((statb.st_mode & S_ISUID) == 0 || statb.st_uid != euserid)) 165 if(fstat(FDIN,&statb) < 295 struct stat statb; local [all...] |
H A D | shcomp.c | 112 struct stat statb; local 115 if(fstat(sffileno(out),&statb) >=0) 116 chmod(cp,(statb.st_mode&~S_IFMT)|S_IXUSR|S_IXGRP|S_IXOTH);
|
H A D | main.c | 144 struct stat statb; local 202 || !fstat(0, &statb) && REMOTE(statb.st_mode) 289 if(fstat(fdin,&statb)<0) 313 if((fdin=sh_open(name,O_RDONLY,0))>=0 &&(fstat(fdin,&statb)<0 || S_ISDIR(statb.st_mode))) 639 struct stat statb; local 659 if(stat(cp,&statb) >= 0 && statb.st_mtime >= mailtime 660 && statb [all...] |
H A D | path.c | 350 struct stat statb; local 355 r = stat(path,&statb); 365 if(pp->ino==statb.st_ino && pp->dev==statb.st_dev && pp->mtime==statb.st_mtime) 400 struct stat statb; local 401 if(stat(name,&statb)<0 || !S_ISDIR(statb.st_mode)) 407 pp->mtime = statb.st_mtime; 408 pp->ino = statb 535 struct stat statb; local 896 struct stat statb; local 1178 struct stat statb; local 1253 struct stat statb; local 1470 struct stat statb; local 1642 struct stat statb; local 1785 struct stat statb; local [all...] |
/macosx-10.9.5/bind9-45.100/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)
|
/macosx-10.9.5/ntp-88/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)
|
/macosx-10.9.5/ksh-20/ksh/src/cmd/ksh93/bltins/ |
H A D | test.c | 312 struct stat statb; local 326 if(stat(arg,&statb)<0 || !S_ISREG(statb.st_mode)) 340 return(test_stat(arg,&statb)>=0 && S_ISDIR(statb.st_mode)); 342 return(test_stat(arg,&statb)>=0 && S_ISCHR(statb.st_mode)); 344 return(test_stat(arg,&statb)>=0 && S_ISBLK(statb.st_mode)); 346 return(test_stat(arg,&statb)> 558 struct stat statb; local 646 struct stat statb; local [all...] |
/macosx-10.9.5/Libc-997.90.3/gen/ |
H A D | getusershell.c | 115 struct stat statb; local 126 if (fstat(fileno(fp), &statb) == -1) { 130 if ((strings = malloc((u_int)statb.st_size)) == NULL) { 134 shells = calloc((unsigned)statb.st_size / 3, sizeof (char *));
|
/macosx-10.9.5/Heimdal-323.92.1/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 *));
|
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/comp/ |
H A D | ftw.c | 41 return (*ftw_userf)(ftw->path, &ftw->statb, n);
|
H A D | nftw.c | 47 n = (*nftw_userf)(ftw->path, &ftw->statb, n, &nftw);
|
/macosx-10.9.5/ksh-20/ksh/src/lib/libcmd/ |
H A D | wc.c | 97 struct stat statb; local 165 if (!(mode&(WC_WORDS|WC_LINES|WC_MBYTE|WC_LONGEST)) && fstat(sffileno(fp),&statb)>=0 166 && S_ISREG(statb.st_mode)) 168 wp->chars = statb.st_size - lseek(sffileno(fp),0L,1);
|
/macosx-10.9.5/remote_cmds-41.90.1/talkd.tproj/ |
H A D | process.c | 201 struct stat statb; local 219 if (stat(ftty, &statb) == 0) { 220 if (!(statb.st_mode & 020)) 237 struct stat statb; 259 if (stat(ftty, &statb) == 0) { 260 if (!(statb.st_mode & 020)) 262 if (statb.st_atime > best) { 263 best = statb.st_atime;
|
/macosx-10.9.5/mail_cmds-29/mail/ |
H A D | edit.c | 155 struct stat statb; local 176 if (fstat(fileno(nf), &statb) < 0) 179 modtime = statb.st_mtime; 212 if (stat(tempname, &statb) < 0) { 216 if (modtime == statb.st_mtime) {
|
/macosx-10.9.5/tcsh-65/tcsh/ |
H A D | tw.parse.c | 1973 struct stat statb; local 1981 if (lstat(ptr, &statb) != -1) { 1983 if (S_ISLNK(statb.st_mode)) { /* Symbolic link */ 1985 if (stat(ptr, &statb) == -1) 1987 else if (S_ISDIR(statb.st_mode)) 1997 if (S_ISSOCK(statb.st_mode)) /* Socket */ 2001 if (S_ISFIFO(statb.st_mode)) /* Named Pipe */ 2005 if (S_ISHIDDEN(statb.st_mode)) /* Hidden Directory [aix] */ 2022 if (S_ISNWK(statb.st_mode)) /* Network Special [hpux] */ 2026 if (S_ISCHR(statb 2056 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)
|
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/misc/ |
H A D | fts.c | 43 #define _fts_statb statb 80 * NOTE: <ftwalk.h> relies on status and statb being the first two elements 214 f->fts_statp = &f->statb; 229 if (f1->statb.st_ino < f2->statb.st_ino) 231 if (f1->statb.st_ino > f2->statb.st_ino) 233 if (f1->statb.st_dev < f2->statb.st_dev) 235 if (f1->statb [all...] |
H A D | ftwalk.c | 99 x->statb = *x->fts_statp; 128 x->statb = *x->fts_statp;
|
/macosx-10.9.5/bind9-45.100/bind9/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)
|
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/include/ |
H A D | ftwalk.h | 47 #define _fts_statb statb
|
/macosx-10.9.5/ntp-88/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)
|
/macosx-10.9.5/objc4-551.1/ |
H A D | markgc.c | 399 struct stat statb; local 405 int osresult = fstat(fd, &statb); 411 if ((sizeof(size_t) == 4) && ((size_t)statb.st_size > SIZE_T_MAX)) { 412 printf("couldn't malloc %llu bytes\n", statb.st_size); 416 FileSize = (size_t)statb.st_size;
|
/macosx-10.9.5/bootp-268.1/bootpd.tproj/ |
H A D | macNC.c | 647 struct stat statb; local 655 if (set_privs(path, &statb, ROOT_UID, G_admin_gid, 685 &statb) == 0) { 687 if (set_privs_no_stat(path, &statb, uid, gid, CLIENT_FILE_PERMS, 709 &statb) == 0) { 710 if (set_privs_no_stat(path, &statb, uid, gid, 747 if (set_privs(shared_path, &statb, ROOT_UID, G_admin_gid, 768 if (set_privs(private_path, &statb, ROOT_UID, G_admin_gid,
|