Home
last modified time | relevance | path

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

123

/trueos/contrib/binutils/binutils/
HDfilemode.c150 #ifndef S_ISCHR
152 #define S_ISCHR(i) (((i) & S_IFMT) == S_IFCHR) macro
154 #define S_ISCHR(i) 0 macro
191 if (S_ISCHR (bits)) in ftypelet()
/trueos/lib/libc/gen/
HDdevname.c51 if (dev == NODEV || !(S_ISCHR(type) || S_ISBLK(dev))) { in devname_r()
56 if (S_ISCHR(type)) { in devname_r()
65 S_ISCHR(type) ? 'C' : 'B', (uintmax_t)dev); in devname_r()
HDctermid.c58 if (stat(_PATH_TTY, &sb) == 0 && S_ISCHR(sb.st_mode)) in ctermid()
/trueos/contrib/diff/lib/
HDfile-type.h36 # undef S_ISCHR
58 # ifndef S_ISCHR
60 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
62 # define S_ISCHR(m) 0 macro
HDfile-type.c50 if (S_ISCHR (st->st_mode)) in file_type()
/trueos/contrib/gdb/gdb/
HDgdb_stat.h29 #undef S_ISCHR
43 #if !defined(S_ISCHR) && defined(S_IFCHR)
44 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
/trueos/contrib/libreadline/
HDposixstat.h31 # undef S_ISCHR
83 #if defined (S_IFCHR) && !defined (S_ISCHR)
84 #define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR) /* character device */ macro
/trueos/contrib/diff/src/
HDsystem.h275 # if HAVE_ST_RDEV && defined S_ISBLK && defined S_ISCHR
278 || (S_ISCHR ((s)->st_mode) && S_ISCHR ((t)->st_mode))) \
/trueos/sbin/fsck/
HDfsutil.c146 if (!S_ISCHR(stchar.st_mode)) { in devcheck()
166 if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode)) in getmntpt()
/trueos/contrib/tcsh/
HDtc.os.h231 # undef S_ISCHR
244 # if !defined(S_ISCHR) && defined(S_IFCHR)
245 # define S_ISCHR(a) (((a) & S_IFMT) == S_IFCHR) macro
/trueos/contrib/libarchive/libarchive/
HDarchive_read_open_filename.c316 else if (S_ISCHR(st.st_mode) && in file_open()
323 else if ((S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode)) && in file_open()
330 else if (S_ISCHR(st.st_mode) && in file_open()
542 && !S_ISCHR(mine->st_mode) in file_close2()
HDarchive_write_open_fd.c106 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode) || in file_open()
/trueos/crypto/openssl/crypto/rand/
HDrandfile.c205 # if defined(S_ISBLK) && defined(S_ISCHR) in RAND_write_file()
206 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) { in RAND_write_file()
/trueos/sys/cddl/compat/opensolaris/sys/
HDstat.h49 if (S_ISCHR(sb->st_mode)) in fstat64()
/trueos/contrib/gcclibs/libcpp/
HDsystem.h303 #ifndef S_ISCHR
304 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
/trueos/contrib/libreadline/examples/rlfe/
HDos.h350 #if defined(S_IFCHR) && defined(S_IFMT) && !defined(S_ISCHR)
351 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
/trueos/sbin/ggate/shared/
HDggate.c139 if (S_ISCHR(sb.st_mode)) { in g_gate_mediasize()
160 if (S_ISCHR(sb.st_mode)) { in g_gate_sectorsize()
/trueos/usr.bin/find/
HDls.c72 if (S_ISCHR(sb->st_mode) || S_ISBLK(sb->st_mode)) in printlong()
/trueos/usr.sbin/fifolog/lib/
HDfifolog_create.c70 !S_ISCHR(st.st_mode) && in fifolog_create()
/trueos/contrib/sendmail/libsm/
HDmakebuf.c107 *couldbetty = S_ISCHR(st.st_mode);
/trueos/lib/libufs/
HDtype.c118 } else if (ret >= 0 && S_ISCHR(st.st_mode)) { in ufs_disk_fillout_blank()
/trueos/contrib/netbsd-tests/lib/libc/sys/
HDt_mknod.c159 if (S_ISCHR(st.st_mode) == 0) in ATF_TC_BODY()
/trueos/contrib/netbsd-tests/include/
HDt_paths.c172 ATF_CHECK(S_ISBLK(m) != 0 || S_ISCHR(m) != 0); in ATF_TC_BODY()
/trueos/tools/regression/aio/aiop/
HDaiop.c182 } else if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) { in main()
/trueos/contrib/gcc/
HDsystem.h473 #ifndef S_ISCHR
474 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro

123