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

1234

/freebsd-11-stable/lib/libc/gen/
H A Ddevname.c51 if (dev == NODEV || !(S_ISCHR(type) || S_ISBLK(dev))) {
56 if (S_ISCHR(type)) {
65 S_ISCHR(type) ? 'C' : 'B', (uintmax_t)dev);
H A Dctermid.c58 if (stat(_PATH_TTY, &sb) == 0 && S_ISCHR(sb.st_mode))
/freebsd-11-stable/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-11-stable/sys/cddl/compat/opensolaris/sys/
H A Dstat.h49 if (S_ISCHR(sb->st_mode))
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/crypto/openssl/crypto/rand/
H A Drandfile.c95 # if !defined(S_ISCHR)
97 # define S_ISCHR(m) ((m) & _S_IFCHR) macro
99 # define S_ISCHR(m) ((m) & S_IFCHR) macro
190 #if defined(S_ISBLK) && defined(S_ISCHR) && !defined(OPENSSL_NO_POSIX_IO)
191 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
241 # if defined(S_ISBLK) && defined(S_ISCHR)
242 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
/freebsd-11-stable/usr.bin/mkuzip/
H A Dmkuz_insize.c72 } else if (S_ISCHR(sb.st_mode)) {
/freebsd-11-stable/sbin/fsck/
H A Dfsutil.c146 if (!S_ISCHR(stchar.st_mode)) {
166 if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode))
/freebsd-11-stable/usr.sbin/fifolog/lib/
H A Dfifolog_create.c72 !S_ISCHR(st.st_mode) &&
/freebsd-11-stable/usr.bin/find/
H A Dls.c73 if (S_ISCHR(sb->st_mode) || S_ISBLK(sb->st_mode))
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_open_fd.c106 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode) ||
H A Darchive_read_open_filename.c322 else if (S_ISCHR(st.st_mode) &&
329 else if ((S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode)) &&
336 else if (S_ISCHR(st.st_mode) &&
554 && !S_ISCHR(mine->st_mode)
/freebsd-11-stable/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-11-stable/contrib/tcsh/
H A Dtc.os.h230 # undef S_ISCHR macro
243 # if !defined(S_ISCHR) && defined(S_IFCHR)
244 # define S_ISCHR(a) (((a) & S_IFMT) == S_IFCHR) macro
245 # endif /* ! S_ISCHR && S_IFCHR */
/freebsd-11-stable/contrib/elftoolchain/libpe/
H A Dlibpe_init.c51 if (!S_ISREG(mode) && !S_ISCHR(mode) && !S_ISFIFO(mode) &&
/freebsd-11-stable/contrib/elftoolchain/ar/
H A Dutil.c110 else if (S_ISCHR(m))
/freebsd-11-stable/contrib/sendmail/libsm/
H A Dmakebuf.c107 *couldbetty = S_ISCHR(st.st_mode);
/freebsd-11-stable/contrib/gcclibs/libcpp/
H A Dsystem.h303 #ifndef S_ISCHR
304 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_mknod.c159 if (S_ISCHR(st.st_mode) == 0)
/freebsd-11-stable/contrib/elftoolchain/libelf/
H A Dlibelf_open.c146 if (!S_ISREG(mode) && !S_ISCHR(mode) && !S_ISFIFO(mode) &&
/freebsd-11-stable/tools/regression/aio/aiop/
H A Daiop.c182 } else if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
/freebsd-11-stable/lib/libufs/
H A Dtype.c119 } else if (ret >= 0 && S_ISCHR(st.st_mode)) {

Completed in 174 milliseconds

1234