Searched refs:S_ISCHR (Results 1 - 25 of 88) sorted by relevance

1234

/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/binutils/
H A Dfilemode.c151 #ifndef S_ISCHR
153 #define S_ISCHR(i) (((i) & S_IFMT) == S_IFCHR)
155 #define S_ISCHR(i) 0
157 #endif /* ! defined (S_ISCHR) */
192 if (S_ISCHR (bits))
152 #define S_ISCHR macro
154 #define S_ISCHR macro
/netbsd-6-1-5-RELEASE/bin/ksh/
H A Dksh_stat.h16 # undef S_ISCHR macro
29 #if !defined(S_ISCHR) && defined(S_IFCHR)
30 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
31 #endif /* S_ISCHR */
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/
H A Dgdb_stat.h28 #undef S_ISCHR macro
42 #if !defined(S_ISCHR) && defined(S_IFCHR)
43 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/readline/
H A Dposixstat.h31 # undef S_ISCHR macro
83 #if defined (S_IFCHR) && !defined (S_ISCHR)
84 #define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR) /* character device */ macro
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/
H A Dstat-macros.h34 # undef S_ISCHR macro
56 # ifndef S_ISCHR
58 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
60 # define S_ISCHR(m) 0 macro
/netbsd-6-1-5-RELEASE/gnu/dist/diffutils/src/
H A Dsystem.h68 # undef S_ISCHR macro
83 #if !defined S_ISCHR && defined S_IFCHR
84 # define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
354 # if HAVE_STRUCT_STAT_ST_RDEV && defined S_ISBLK && defined S_ISCHR
357 || (S_ISCHR ((s)->st_mode) && S_ISCHR ((t)->st_mode))) \
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/diff/
H A Dsystem.h43 #undef S_ISCHR macro
58 #if !defined(S_ISCHR) && defined(S_IFCHR)
59 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
/netbsd-6-1-5-RELEASE/sbin/fsck/
H A Dfsutil.c179 if (!S_ISCHR(stb.st_mode))
228 if (S_ISCHR(stchar.st_mode)) {
234 } else if (S_ISCHR(stblock.st_mode) && !retried) {
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/rand/
H A Drandfile.c193 #if defined(S_ISBLK) && defined(S_ISCHR)
194 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/sdb/dir/
H A Ddirdb.c99 else if (S_ISCHR(statbuf.st_mode) || S_ISBLK(statbuf.st_mode)) {
102 S_ISCHR(statbuf.st_mode) ? "chr" : "blk",
/netbsd-6-1-5-RELEASE/sbin/dump/
H A Dsnapshot.c78 if (S_ISCHR(sb.st_mode)) {
116 } else if (S_ISCHR(sb.st_mode)) {
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/libarchive/
H A Darchive_write_open_fd.c107 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode) ||
H A Darchive_write_open_filename.c118 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode) ||
H A Darchive_read_open_filename.c257 && !S_ISCHR(mine->st_mode)
/netbsd-6-1-5-RELEASE/lib/libc/stdio/
H A Dmakebuf.c116 *couldbetty = S_ISCHR(st.st_mode);
/netbsd-6-1-5-RELEASE/usr.bin/find/
H A Dls.c77 if (S_ISCHR(sb->st_mode) || S_ISBLK(sb->st_mode))
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/activate/
H A Dfs.c116 if (!S_ISCHR(buf.st_mode))
161 if (!S_ISLNK(buf.st_mode) && !S_ISCHR(buf.st_mode)) {
207 if (!S_ISCHR(buf.st_mode)) {
/netbsd-6-1-5-RELEASE/usr.sbin/videomode/
H A Dvideomode.c103 if (!S_ISCHR(stb.st_mode) || !isatty(0))
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libcpp/
H A Dsystem.h302 #ifndef S_ISCHR
303 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libcpp/
H A Dsystem.h303 #ifndef S_ISCHR
304 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
/netbsd-6-1-5-RELEASE/sys/arch/x68k/stand/installboot/
H A Dinstallboot.c98 if (!S_ISCHR(st.st_mode))
124 if (!S_ISCHR(st.st_mode))
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/src/
H A Dfilesubr.c165 #ifdef S_ISCHR
166 if (S_ISCHR (sb.st_mode))
629 if (S_ISBLK (sb1.st_mode) || S_ISCHR (sb1.st_mode))
/netbsd-6-1-5-RELEASE/lib/libutil/
H A Dpidlock.c187 if (!S_ISCHR(sb.st_mode)) {
/netbsd-6-1-5-RELEASE/sbin/newfs_v7fs/
H A Dnewfs_v7fs.c133 if (!S_ISCHR(st.st_mode)) {
/netbsd-6-1-5-RELEASE/tests/include/
H A Dt_paths.c175 ATF_CHECK(S_ISBLK(m) != 0 || S_ISCHR(m) != 0);

Completed in 300 milliseconds

1234