Home
last modified time | relevance | path

Searched refs:S_ISREG (Results 1 – 25 of 137) sorted by relevance

123456

/illumos-gate/usr/src/lib/libcmdutils/common/
H A Dwritefile.c99 if (S_ISREG(s1p->st_mode) && s1p->st_size > SMALLFILESIZE) { in writefile()
141 if (S_ISREG(s2p->st_mode)) in writefile()
165 if (S_ISREG(s2p->st_mode)) in writefile()
185 if (S_ISREG(s2p->st_mode)) in writefile()
204 if (S_ISREG(s2p->st_mode)) in writefile()
214 if (S_ISREG(s2p->st_mode)) in writefile()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dmakebuf.c115 if (S_ISREG(st.st_mode) && st.st_blksize > SM_IO_MAX_BUF_FILE)
120 if (!S_ISREG(st.st_mode))
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dmode.c103 #ifdef S_ISREG in main()
104 if (!S_ISREG(X_IFREG)) idtype = 0; in main()
/illumos-gate/usr/src/cmd/tail/
H A Dforward.c104 if (S_ISREG(sbp->st_mode)) { in forward()
136 if (S_ISREG(sbp->st_mode)) { in forward()
154 if (S_ISREG(sbp->st_mode)) in forward()
273 if (!S_ISREG(file->st.st_mode)) { in associate()
/illumos-gate/usr/src/cmd/rpcbind/
H A Dwarmstart.c145 (!S_ISREG(sbuf_fstat.st_mode)) || in read_struct()
165 (!S_ISREG(sbuf_lstat.st_mode)) || in read_struct()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dsuid_exec.c139 !S_ISREG(statb.st_mode)) in main()
191 if(fstat(n, &statb) < 0 || !S_ISREG(statb.st_mode)) in main()
300 if(!S_ISREG(statb.st_mode) || mode != 1) in eaccess()
/illumos-gate/usr/src/cmd/cat/
H A Dcat.c347 if (S_ISREG(statp->st_mode) && (lseek(fi_desc, (off_t)0, SEEK_CUR) in cat()
440 if (S_ISREG(statp->st_mode) && S_ISREG(outp->st_mode)) { in cat()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vec/
H A Dvecfile.c50 …if (!fstat(fd, &st) && S_ISREG(st.st_mode) && (n = st.st_size) > 0 && (buf = newof(0, char, n + 1,… in vecfile()
/illumos-gate/usr/src/lib/libtecla/common/
H A Dpathutil.c403 return S_ISREG(statbuf.st_mode) != 0; in _pu_path_is_file()
426 return S_ISREG(statbuf.st_mode) != 0 && in _pu_path_is_exe()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dmodex.c58 if (S_ISREG(i)) x |= X_IFREG; in modex()
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dlpfsck.c267 if (exist && !S_ISREG(stbuf.st_mode)) { in proto()
284 !S_ISREG(stbuf.st_mode) && !S_ISFIFO(stbuf.st_mode)) { in proto()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dposix_fallocate.c46 else if (!S_ISREG(statb.st_mode)) /* not a regular file */ in fallocate_errno()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dastcopy.c67 if (!fstat(rfd, &st) && S_ISREG(st.st_mode) && (pos = lseek(rfd, (off_t)0, 1)) != ((off_t)-1)) in astcopy()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_minix.c153 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
416 if (!S_ISREG (INODE->i_mode)) in minix_dir()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dcmp.c392 …n = ((flags & CMP_SILENT) && S_ISREG(s1.st_mode) && S_ISREG(s2.st_mode) && (s1.st_size - o1) != (s… in b_cmp()
H A Dwc.c166 && S_ISREG(statb.st_mode)) in b_wc()
/illumos-gate/usr/src/cmd/lp/model/netpr/
H A Dmisc.c56 if (S_ISREG(status.st_mode) == 0) { in check_file()
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioRawPipe.cc103 if (S_ISREG(st.st_mode)) { in Open()
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dkeyfile.c71 if (S_ISREG(statbuf.st_mode)) { in pkcs11_read_data()
/illumos-gate/usr/src/cmd/which/
H A Dwhich.c138 S_ISREG(fin.st_mode)) { in is_there()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Deaccess.c76 if (!S_ISREG(st.st_mode) || !(flags & X_OK) || (st.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH)))
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dtest.c329 if(stat(arg,&statb)<0 || !S_ISREG(statb.st_mode)) in test_unop()
349 return(test_stat(arg,&statb)>=0 && S_ISREG(statb.st_mode)); in test_unop()
599 if(!S_ISREG(statb.st_mode) || mode!=X_OK) in sh_access()
/illumos-gate/usr/src/tools/ctf/ctfstrip/
H A Dctfstrip.c86 if (!S_ISREG(sb.st_mode)) { in check_file()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_object_detector.c548 #if !defined(S_ISREG) in dwarf_object_detector_path()
549 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) in dwarf_object_detector_path() macro
/illumos-gate/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c93 S_ISREG(st->st_mode))
265 if (bitset(SFF_REGONLY, flags) && !S_ISREG(st->st_mode))
958 S_ISREG(st.st_mode))

123456