| /NextBSD/contrib/binutils/binutils/ |
| HD | filemode.c | 150 #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()
|
| /NextBSD/lib/libc/gen/ |
| HD | devname.c | 52 if (dev == NODEV || !(S_ISCHR(type) || S_ISBLK(dev))) { in devname_r() 57 if (S_ISCHR(type)) { in devname_r() 66 S_ISCHR(type) ? 'C' : 'B', (uintmax_t)dev); in devname_r()
|
| HD | ctermid.c | 58 if (stat(_PATH_TTY, &sb) == 0 && S_ISCHR(sb.st_mode)) in ctermid()
|
| /NextBSD/contrib/diff/lib/ |
| HD | file-type.h | 36 # 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
|
| HD | file-type.c | 50 if (S_ISCHR (st->st_mode)) in file_type()
|
| /NextBSD/contrib/gdb/gdb/ |
| HD | gdb_stat.h | 29 #undef S_ISCHR 43 #if !defined(S_ISCHR) && defined(S_IFCHR) 44 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
|
| /NextBSD/contrib/libreadline/ |
| HD | posixstat.h | 31 # undef S_ISCHR 83 #if defined (S_IFCHR) && !defined (S_ISCHR) 84 #define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR) /* character device */ macro
|
| /NextBSD/contrib/diff/src/ |
| HD | system.h | 275 # if HAVE_ST_RDEV && defined S_ISBLK && defined S_ISCHR 278 || (S_ISCHR ((s)->st_mode) && S_ISCHR ((t)->st_mode))) \
|
| /NextBSD/sbin/fsck/ |
| HD | fsutil.c | 146 if (!S_ISCHR(stchar.st_mode)) { in devcheck() 166 if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode)) in getmntpt()
|
| /NextBSD/contrib/tcsh/ |
| HD | tc.os.h | 231 # undef S_ISCHR 244 # if !defined(S_ISCHR) && defined(S_IFCHR) 245 # define S_ISCHR(a) (((a) & S_IFMT) == S_IFCHR) macro
|
| /NextBSD/contrib/libarchive/libarchive/ |
| HD | archive_read_open_filename.c | 316 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()
|
| HD | archive_write_open_fd.c | 106 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode) || in file_open()
|
| /NextBSD/crypto/openssl/crypto/rand/ |
| HD | randfile.c | 205 # 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()
|
| /NextBSD/sys/cddl/compat/opensolaris/sys/ |
| HD | stat.h | 49 if (S_ISCHR(sb->st_mode)) in fstat64()
|
| /NextBSD/contrib/gcclibs/libcpp/ |
| HD | system.h | 303 #ifndef S_ISCHR 304 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
|
| /NextBSD/sbin/ggate/shared/ |
| HD | ggate.c | 139 if (S_ISCHR(sb.st_mode)) { in g_gate_mediasize() 160 if (S_ISCHR(sb.st_mode)) { in g_gate_sectorsize()
|
| /NextBSD/contrib/libreadline/examples/rlfe/ |
| HD | os.h | 350 #if defined(S_IFCHR) && defined(S_IFMT) && !defined(S_ISCHR) 351 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
|
| /NextBSD/usr.bin/find/ |
| HD | ls.c | 72 if (S_ISCHR(sb->st_mode) || S_ISBLK(sb->st_mode)) in printlong()
|
| /NextBSD/usr.sbin/fifolog/lib/ |
| HD | fifolog_create.c | 70 !S_ISCHR(st.st_mode) && in fifolog_create()
|
| /NextBSD/contrib/unbound/compat/ |
| HD | getentropy_solaris.c | 200 if (fstat(fd, &st) == -1 || !S_ISCHR(st.st_mode) || in getentropy_urandom() 399 if (S_ISCHR(st.st_mode)) { in getentropy_fallback()
|
| HD | getentropy_osx.c | 185 if (fstat(fd, &st) == -1 || !S_ISCHR(st.st_mode)) { in getentropy_urandom() 389 if (S_ISCHR(st.st_mode)) { in getentropy_fallback()
|
| /NextBSD/lib/libufs/ |
| HD | type.c | 118 } else if (ret >= 0 && S_ISCHR(st.st_mode)) { in ufs_disk_fillout_blank()
|
| /NextBSD/bin/dd/ |
| HD | dd.c | 260 if (S_ISCHR(sb.st_mode) || S_ISBLK(sb.st_mode)) { in getfdtype() 268 if (S_ISCHR(sb.st_mode) && (type & D_TAPE) == 0) in getfdtype()
|
| /NextBSD/contrib/elftoolchain/ar/ |
| HD | util.c | 110 else if (S_ISCHR(m)) in bsdar_strmode()
|
| /NextBSD/contrib/netbsd-tests/lib/libc/sys/ |
| HD | t_mknod.c | 159 if (S_ISCHR(st.st_mode) == 0) in ATF_TC_BODY()
|