Home
last modified time | relevance | path

Searched refs:S_ISDIR (Results 1 – 25 of 140) sorted by relevance

123456

/titanic_41/usr/src/cmd/sendmail/db/os/
H A Dos_stat.c43 #if !defined(S_ISDIR) || defined(STAT_MACROS_BROKEN)
45 #define S_ISDIR(m) (_S_IFDIR & (m)) macro
47 #define S_ISDIR(m) (((m) & 0170000) == 0040000) macro
51 *isdirp = S_ISDIR(sb.st_mode);
/titanic_41/usr/src/cmd/chmod/
H A Dcommon.c243 if (lcheck == 1 && !S_ISDIR(new_mode)) { in newmode_common()
256 !S_ISDIR(new_mode)) { in newmode_common()
273 !S_ISDIR(new_mode)) { in newmode_common()
287 !S_ISDIR(new_mode)) { in newmode_common()
326 !S_ISDIR(new_mode)) { in newmode_common()
378 !S_ISDIR(new_mode)) { in newmode_common()
422 !S_ISDIR(new_mode)) { in newmode_common()
446 !S_ISDIR(new_mode)) { in newmode_common()
/titanic_41/usr/src/cmd/acpi/acpidump/
H A Dosunixdir.c180 if ((S_ISDIR (temp_stat.st_mode) in AcpiOsGetNextFilename()
183 ((!S_ISDIR (temp_stat.st_mode) in AcpiOsGetNextFilename()
/titanic_41/usr/src/cmd/tcpd/
H A Dtcpdmatch.c41 #ifndef S_ISDIR
42 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
105 } else if (!S_ISDIR(st.st_mode)) {
H A Dtcpdchk.c43 #ifndef S_ISDIR
44 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
131 } else if (!S_ISDIR(st.st_mode)) {
/titanic_41/usr/src/lib/libast/common/features/
H A Dmode.c76 #ifdef S_ISDIR in main()
77 if (!S_ISDIR(X_IFDIR)) idtype = 0; in main()
/titanic_41/usr/src/tools/cscope-fast/
H A Ddir.c89 S_ISDIR(statstruct.st_mode)) { in sourcedir()
123 S_ISDIR(statstruct.st_mode)) { in includedir()
256 S_ISDIR(statstruct.st_mode)) { in makefilelist()
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/
H A Ddb-int.h290 #ifndef S_ISDIR /* POSIX 1003.1 file type tests. */
291 #define S_ISDIR(m) ((m & 0170000) == 0040000) /* directory */ macro
/titanic_41/usr/src/cmd/ndmpd/tlm/
H A Dtlm_traverse.c210 if (!S_ISDIR(st->st_mode)) in fs_getstat()
264 if (S_ISDIR(st.st_mode)) in fs_getdents()
375 if (!S_ISDIR(pst.st_mode)) { in traverse_post()
474 if (S_ISDIR(est.st_mode)) { in traverse_post()
717 if (!S_ISDIR(dent->fd_attr.st_mode)) { in traverse_level_nondir()
794 if (!S_ISDIR(pst.st_mode)) { in traverse_level()
938 if (!S_ISDIR(est.st_mode)) in traverse_level()
/titanic_41/usr/src/tools/protocmp/
H A Ddepend.c199 if (!S_ISDIR(sbuf.st_mode)) { in find_dependencies()
207 if (!S_ISDIR(sbuf.st_mode)) { in find_dependencies()
/titanic_41/usr/src/lib/libast/common/comp/
H A Dmknod.c44 if (S_ISDIR(mode))
H A Drmdir.c45 if (!S_ISDIR(st.st_mode))
/titanic_41/usr/src/cmd/oamuser/lib/
H A Dfile.c41 if( S_ISDIR( statbuf.st_mode )) {
/titanic_41/usr/src/cmd/fs.d/dev/
H A Dmount.c325 if (! S_ISDIR(st.st_mode)) { in main()
336 if (! S_ISDIR(st.st_mode)) { in main()
/titanic_41/usr/src/cmd/mkdir/
H A Dmkdir.c166 if (S_ISDIR(buf.st_mode)) { in main()
181 if (! S_ISDIR(buf.st_mode)) { in main()
/titanic_41/usr/src/lib/libcmd/common/
H A Dcp.c355 if (!S_ISDIR(st.st_mode)) in visit()
398 …else if (state->update && !S_ISDIR(st.st_mode) && (unsigned long)ent->fts_statp->st_mtime < (unsig… in visit()
425 if (S_ISDIR(st.st_mode)) in visit()
544 if (errno != EXDEV && (rm || S_ISDIR(ent->fts_statp->st_mode))) in visit()
568 else if (state->op == CP || S_ISREG(ent->fts_statp->st_mode) || S_ISDIR(ent->fts_statp->st_mode)) in visit()
902 if (!(state->directory = !stat(file, &st) && S_ISDIR(st.st_mode)) && argc > 1) in b_cp()
/titanic_41/usr/src/lib/libast/common/string/
H A Dmodex.c59 else if (S_ISDIR(i)) x |= X_IFDIR; in modex()
/titanic_41/usr/src/lib/libast/common/dir/
H A Dopendir.c57 !S_ISDIR(st.st_mode) && (errno = ENOTDIR) ||
/titanic_41/usr/src/lib/libresolv2/common/bsd/
H A Dmktemp.c116 if (!S_ISDIR(sbuf.st_mode)) { in gettemp()
/titanic_41/usr/src/cmd/ldap/common/
H A Dfileurl.c290 } else if (S_ISDIR(fstats.st_mode)) { in ldaptool_berval_from_ldif_value()
307 !S_ISDIR(fstats.st_mode)) { /* get value from file */ in ldaptool_berval_from_ldif_value()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsafechown.c39 if (!S_ISDIR(fdbuf.st_mode) && fdbuf.st_nlink != 1) { in safechown()
/titanic_41/usr/src/cmd/lp/lib/forms/
H A Dputform.c75 if (!S_ISDIR(statbuf.st_mode)) { in putform()
/titanic_41/usr/src/lib/libshare/common/
H A Dissubdir.c113 if (S_ISDIR(st.st_mode)) {
/titanic_41/usr/src/lib/libbc/inc/include/sys/
H A Dstat.h106 #define S_ISDIR(m) (((m)&_IFMT) == _IFDIR) macro
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dfsys_minix.c154 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
435 if (!(INODE->i_size) || !S_ISDIR (INODE->i_mode)) in minix_dir()

123456