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

123

/freebsd-9.3-release/lib/libc/gen/
H A Ddevname.c50 if (dev == NODEV || !(S_ISCHR(type) || S_ISBLK(dev))) {
55 if (S_ISCHR(type)) {
64 S_ISCHR(type) ? 'C' : 'B', major(dev), minor(dev));
/freebsd-9.3-release/contrib/binutils/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
/freebsd-9.3-release/sys/cddl/compat/opensolaris/sys/
H A Dstat.h49 if (S_ISCHR(sb->st_mode))
/freebsd-9.3-release/contrib/gdb/gdb/
H A Dgdb_stat.h29 #undef S_ISCHR macro
43 #if !defined(S_ISCHR) && defined(S_IFCHR)
44 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
/freebsd-9.3-release/contrib/libreadline/
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
/freebsd-9.3-release/contrib/diff/lib/
H A Dfile-type.h36 # undef S_ISCHR macro
58 # ifndef S_ISCHR
60 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
62 # define S_ISCHR(m) 0 macro
H A Dfile-type.c50 if (S_ISCHR (st->st_mode))
/freebsd-9.3-release/contrib/gnu-sort/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
/freebsd-9.3-release/crypto/openssl/crypto/rand/
H A Drandfile.c150 #if defined(S_ISBLK) && defined(S_ISCHR)
151 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
198 #if defined(S_ISBLK) && defined(S_ISCHR)
199 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
/freebsd-9.3-release/contrib/cvs/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
/freebsd-9.3-release/contrib/cvs/lib/
H A Dsystem.h19 #undef S_ISCHR macro
47 #if !defined(S_ISCHR) && defined(S_IFCHR)
49 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
51 # define S_ISCHR(m) ((m) & S_IFCHR) macro
/freebsd-9.3-release/sbin/fsck/
H A Dfsutil.c144 if (!S_ISCHR(stchar.st_mode)) {
165 if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode))
/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Darchive_write_open_fd.c106 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)
/freebsd-9.3-release/usr.bin/find/
H A Dls.c72 if (S_ISCHR(sb->st_mode) || S_ISBLK(sb->st_mode))
/freebsd-9.3-release/usr.sbin/fifolog/lib/
H A Dfifolog_create.c70 !S_ISCHR(st.st_mode) &&
/freebsd-9.3-release/contrib/diff/src/
H A Dsystem.h277 # if HAVE_ST_RDEV && defined S_ISBLK && defined S_ISCHR
280 || (S_ISCHR ((s)->st_mode) && S_ISCHR ((t)->st_mode))) \
/freebsd-9.3-release/contrib/tcsh/
H A Dtc.os.h231 # undef S_ISCHR macro
244 # if !defined(S_ISCHR) && defined(S_IFCHR)
245 # define S_ISCHR(a) (((a) & S_IFMT) == S_IFCHR) macro
246 # endif /* ! S_ISCHR && S_IFCHR */
/freebsd-9.3-release/contrib/sendmail/libsm/
H A Dmakebuf.c107 *couldbetty = S_ISCHR(st.st_mode);
/freebsd-9.3-release/contrib/gcclibs/libcpp/
H A Dsystem.h303 #ifndef S_ISCHR
304 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
/freebsd-9.3-release/lib/libufs/
H A Dtype.c118 } else if (ret >= 0 && S_ISCHR(st.st_mode)) {
/freebsd-9.3-release/tools/regression/aio/aiop/
H A Daiop.c183 } else if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
/freebsd-9.3-release/contrib/libreadline/examples/rlfe/
H A Dos.h350 #if defined(S_IFCHR) && defined(S_IFMT) && !defined(S_ISCHR)
351 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
/freebsd-9.3-release/sbin/ggate/shared/
H A Dggate.c139 if (S_ISCHR(sb.st_mode)) {
160 if (S_ISCHR(sb.st_mode)) {

Completed in 154 milliseconds

123