Searched refs:S_IFMT (Results 51 – 75 of 108) sorted by last modified time
12345
/original-bsd/sbin/newfs/ |
H A D | newfs.c | 351 if ((st.st_mode & S_IFMT) != S_IFCHR && !mfs)
|
/original-bsd/sbin/fsck/ |
H A D | preen.c | 283 if ((stblock.st_mode & S_IFMT) == S_IFBLK) { 292 if ((stchar.st_mode & S_IFMT) == S_IFCHR) { 298 } else if ((stblock.st_mode & S_IFMT) == S_IFCHR && !retried) { 321 if ((stb.st_mode & S_IFMT) != S_IFCHR)
|
H A D | setup.c | 62 if ((statb.st_mode & S_IFMT) != S_IFCHR) {
|
/original-bsd/sbin/dump/ |
H A D | traverse.c | 321 switch (dp->di_mode & S_IFMT) {
|
/original-bsd/old/tp/ |
H A D | tp2.c | 296 if ((mode &= S_IFMT) != 0) { in callout()
|
/original-bsd/old/test/ |
H A D | test.c | 181 if((statb.st_mode&S_IFMT)==S_IFDIR)
|
/original-bsd/old/tar/ |
H A D | tar.c | 501 switch (stbuf.st_mode & S_IFMT) { 1016 if ((mode & S_IFMT) == S_IFDIR){ 1338 if ((stbuf.st_mode & S_IFMT) == S_IFCHR) in getbuf()
|
/original-bsd/old/rogue/ |
H A D | machdep.c | 208 return ((sbuf2.st_mode & S_IFMT) != S_IFREG);
|
/original-bsd/old/sdb/ |
H A D | ps.c | 350 if ((sbuf.st_mode&S_IFMT) != S_IFCHR) in getdev()
|
/original-bsd/old/sh/ |
H A D | expand.c | 71 ANDF (statb.st_mode&S_IFMT)==S_IFDIR
|
/original-bsd/old/more/ |
H A D | more.c | 353 if ((stbuf.st_mode & S_IFMT) == S_IFDIR) {
|
/original-bsd/old/make/ |
H A D | main.c | 231 (stat(p, &sbuf) >= 0 && (sbuf.st_mode&S_IFMT) == S_IFREG) && in intrupt()
|
/original-bsd/old/games.vax/compat/ |
H A D | unixtraps.c | 275 if ((stat32v.st_mode&S_IFMT) == S_IFDIR) 335 if ((args[1] & S_IFMT) == S_IFDIR) 612 ((stat32v.st_mode & S_IFMT) == S_IFDIR) &&
|
/original-bsd/old/catman/ |
H A D | catman.c | 156 if ((sbuf.st_mode & S_IFMT) != S_IFDIR) { 220 (((sbuf.st_mode&S_IFMT)==S_IFREG) || 221 ((sbuf.st_mode&S_IFMT)==S_IFLNK)))
|
/original-bsd/old/cpio/ |
H A D | cpio.c | 146 Filetype = S_IFMT; 470 if((Xstatb.st_mode&S_IFMT) != S_IFDIR) { 655 tlong = ((Hdr.h_mode&S_IFMT) == S_IFREG || in getname() 656 (Hdr.h_mode&S_IFMT) == S_IFLNK)? Statb.st_size: 0L; in getname() 1329 if((statb.st_mode&S_IFMT) != S_IFCHR) {
|
/original-bsd/old/compact/compact/ |
H A D | compact.c | 92 if ((ucfstatus.st_mode & S_IFMT) != S_IFREG) {
|
/original-bsd/old/berknet/ |
H A D | mach.h | 372 # define S_IFMT 060000 macro
|
H A D | net.c | 453 } while(x.st_dev!=i || (x.st_mode&S_IFMT)!=S_IFDIR);
|
/original-bsd/old/arff/ |
H A D | arff.c | 377 if (stat(defdev, &sb) >= 0 && (sb.st_mode & S_IFMT) == S_IFREG) in rt_init()
|
/original-bsd/local/transcript/src/ |
H A D | psrev.c | 354 if ((S.st_mode & S_IFMT) != S_IFREG) {
|
H A D | psgrind.c | 962 if ((S.st_mode & S_IFMT) == S_IFREG)
|
H A D | enscript.c | 1201 if ((S.st_mode & S_IFMT) == S_IFREG)
|
/original-bsd/local/toolchest/ksh/sh/ |
H A D | service.c | 248 if(fstat(n,&statb)<0 || (statb.st_mode&S_IFMT)!=S_IFREG) 281 if(!ftype(curstak(),S_IFMT,S_IFREG))
|
H A D | suid_exec.c | 128 if((statb.st_mode&~S_IFMT) != SPECIAL) 251 if((statb.st_mode&S_IFMT) != S_IFREG || mode != 1)
|
H A D | test.c | 175 return(ftype(p2,S_IFMT,S_IFDIR)); in e3() 177 return(ftype(p2,S_IFMT,S_IFCHR)); in e3() 179 return(ftype(p2,S_IFMT,S_IFBLK)); in e3() 181 return(ftype(p2,S_IFMT,S_IFREG)); in e3() 194 return((statb.st_mode&S_IFMT)==S_IFLNK); in e3()
|
12345