Home
last modified time | relevance | path

Searched refs:S_IFMT (Results 51 – 75 of 108) sorted by last modified time

12345

/original-bsd/sbin/newfs/
H A Dnewfs.c351 if ((st.st_mode & S_IFMT) != S_IFCHR && !mfs)
/original-bsd/sbin/fsck/
H A Dpreen.c283 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 Dsetup.c62 if ((statb.st_mode & S_IFMT) != S_IFCHR) {
/original-bsd/sbin/dump/
H A Dtraverse.c321 switch (dp->di_mode & S_IFMT) {
/original-bsd/old/tp/
H A Dtp2.c296 if ((mode &= S_IFMT) != 0) { in callout()
/original-bsd/old/test/
H A Dtest.c181 if((statb.st_mode&S_IFMT)==S_IFDIR)
/original-bsd/old/tar/
H A Dtar.c501 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 Dmachdep.c208 return ((sbuf2.st_mode & S_IFMT) != S_IFREG);
/original-bsd/old/sdb/
H A Dps.c350 if ((sbuf.st_mode&S_IFMT) != S_IFCHR) in getdev()
/original-bsd/old/sh/
H A Dexpand.c71 ANDF (statb.st_mode&S_IFMT)==S_IFDIR
/original-bsd/old/more/
H A Dmore.c353 if ((stbuf.st_mode & S_IFMT) == S_IFDIR) {
/original-bsd/old/make/
H A Dmain.c231 (stat(p, &sbuf) >= 0 && (sbuf.st_mode&S_IFMT) == S_IFREG) && in intrupt()
/original-bsd/old/games.vax/compat/
H A Dunixtraps.c275 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 Dcatman.c156 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 Dcpio.c146 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 Dcompact.c92 if ((ucfstatus.st_mode & S_IFMT) != S_IFREG) {
/original-bsd/old/berknet/
H A Dmach.h372 # define S_IFMT 060000 macro
H A Dnet.c453 } while(x.st_dev!=i || (x.st_mode&S_IFMT)!=S_IFDIR);
/original-bsd/old/arff/
H A Darff.c377 if (stat(defdev, &sb) >= 0 && (sb.st_mode & S_IFMT) == S_IFREG) in rt_init()
/original-bsd/local/transcript/src/
H A Dpsrev.c354 if ((S.st_mode & S_IFMT) != S_IFREG) {
H A Dpsgrind.c962 if ((S.st_mode & S_IFMT) == S_IFREG)
H A Denscript.c1201 if ((S.st_mode & S_IFMT) == S_IFREG)
/original-bsd/local/toolchest/ksh/sh/
H A Dservice.c248 if(fstat(n,&statb)<0 || (statb.st_mode&S_IFMT)!=S_IFREG)
281 if(!ftype(curstak(),S_IFMT,S_IFREG))
H A Dsuid_exec.c128 if((statb.st_mode&~S_IFMT) != SPECIAL)
251 if((statb.st_mode&S_IFMT) != S_IFREG || mode != 1)
H A Dtest.c175 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