Symbol: S_ISCHR
bin/csh/sem.c
613
if (S_ISCHR(stb.st_mode))
bin/dd/dd.c
211
if (S_ISCHR(sb.st_mode))
bin/df/df.c
138
} else if (S_ISCHR(stbuf.st_mode) || S_ISBLK(stbuf.st_mode)) {
bin/ksh/c_test.c
245
return stat(opnd1, &b1) == 0 && S_ISCHR(b1.st_mode);
bin/ksh/main.c
377
if (fstat(0, &s_stdin) >= 0 && S_ISCHR(s_stdin.st_mode) &&
bin/ls/ls.c
526
if (S_ISCHR(sp->st_mode) ||
bin/ls/print.c
112
if (S_ISCHR(sp->st_mode) || S_ISBLK(sp->st_mode))
bin/pax/ar_io.c
173
if (S_ISCHR(arsb.st_mode))
bin/ps/ps.c
224
if (!S_ISCHR(sb.st_mode))
lib/libc/gen/ttyname.c
127
|| !S_ISCHR(dsb.st_mode) || sb->st_rdev != dsb.st_rdev)
lib/libc/gen/ttyname.c
83
if (!S_ISCHR(sb.st_mode))
lib/libc/stdio/makebuf.c
91
*couldbetty = S_ISCHR(st.st_mode);
lib/libc/stdlib/posix_pty.c
71
if (!S_ISCHR(sb.st_mode)) {
lib/libcrypto/arc4random/getentropy_aix.c
148
if (fstat(fd, &st) == -1 || !S_ISCHR(st.st_mode)) {
lib/libcrypto/arc4random/getentropy_aix.c
363
if (S_ISCHR(st.st_mode)) {
lib/libcrypto/arc4random/getentropy_hpux.c
152
if (fstat(fd, &st) == -1 || !S_ISCHR(st.st_mode)) {
lib/libcrypto/arc4random/getentropy_hpux.c
357
if (S_ISCHR(st.st_mode)) {
lib/libcrypto/arc4random/getentropy_linux.c
226
if (fstat(fd, &st) == -1 || !S_ISCHR(st.st_mode)) {
lib/libcrypto/arc4random/getentropy_linux.c
467
if (S_ISCHR(st.st_mode)) {
lib/libcrypto/arc4random/getentropy_osx.c
172
if (fstat(fd, &st) == -1 || !S_ISCHR(st.st_mode)) {
lib/libcrypto/arc4random/getentropy_osx.c
377
if (S_ISCHR(st.st_mode)) {
lib/libcrypto/arc4random/getentropy_solaris.c
178
if (fstat(fd, &st) == -1 || !S_ISCHR(st.st_mode) ||
lib/libcrypto/arc4random/getentropy_solaris.c
383
if (S_ISCHR(st.st_mode)) {
lib/libcrypto/rand/randfile.c
104
(S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode))) {
lib/libelf/libelf_open.c
146
if (!S_ISREG(mode) && !S_ISCHR(mode) && !S_ISFIFO(mode) &&
lib/libfido2/src/hid_unix.c
39
if (S_ISCHR(st.st_mode) == 0) {
lib/libkvm/kvm.c
232
if (S_ISCHR(st.st_mode)) {
regress/lib/libc/sys/t_mknod.c
153
if (S_ISCHR(st.st_mode) == 0)
sbin/fdisk/disk.c
58
if (!S_ISCHR(st.st_mode))
sbin/fsck/fsutil.c
169
if (!S_ISCHR(stb.st_mode))
sbin/fsck/fsutil.c
220
if (S_ISCHR(stchar.st_mode)) {
sbin/fsck/fsutil.c
226
} else if (S_ISCHR(stblock.st_mode) && !retried) {
sbin/fsck_ext2fs/setup.c
95
if (!S_ISCHR(statb.st_mode)) {
sbin/fsck_ffs/setup.c
120
if (!S_ISCHR(statb.st_mode)) {
sbin/ncheck_ffs/ncheck_ffs.c
565
if (S_ISCHR(stblock.st_mode))
sbin/ncheck_ffs/ncheck_ffs.c
579
} else if (!S_ISCHR(stblock.st_mode)) {
sbin/newfs/newfs.c
420
if (!S_ISCHR(st.st_mode))
sbin/newfs_ext2fs/newfs_ext2fs.c
476
if (!S_ISCHR(st.st_mode))
sbin/newfs_msdos/newfs_msdos.c
353
if (!S_ISCHR(sb.st_mode))
sbin/newfs_msdos/newfs_msdos.c
683
r = S_ISCHR(mode) && s1 != fname && *s1 == 'r';
sbin/pdisk/pdisk.c
108
if (!S_ISCHR(st.st_mode))
sys/arch/alpha/stand/installboot.c
153
if (!S_ISCHR(disksb.st_mode))
usr.bin/cvs/file.c
1029
if (S_ISBLK(stb1.st_mode) || S_ISCHR(stb1.st_mode)) {
usr.bin/find/ls.c
68
if (S_ISCHR(sb->st_mode) || S_ISBLK(sb->st_mode))
usr.bin/pkill/pkill.c
620
if (!S_ISCHR(st.st_mode))
usr.bin/rsync/flist.c
205
S_ISCHR(ent->fts_statp->st_mode))) ||
usr.bin/rsync/flist.c
359
S_ISCHR(f->st.mode))) ||
usr.bin/rsync/flist.c
693
S_ISCHR(ff->st.mode))) ||
usr.bin/rsync/uploader.c
283
assert(S_ISBLK(f->st.mode) || S_ISCHR(f->st.mode));
usr.bin/rsync/uploader.c
307
if (rc != -1 && !(S_ISBLK(st.st_mode) || S_ISCHR(st.st_mode))) {
usr.bin/rsync/uploader.c
945
S_ISCHR(u->fl[u->idx].st.mode))
usr.bin/stat/stat.c
519
S_ISCHR(st->st_mode) ? S_IFCHR :
usr.bin/stat/stat.c
761
if (S_ISCHR(st->st_mode) || S_ISBLK(st->st_mode)) {
usr.sbin/dev_mkdb/dev_mkdb.c
115
if (S_ISCHR(dp->fts_statp->st_mode)) {
usr.sbin/installboot/i386_installboot.c
206
if (!S_ISCHR(sb.st_mode))
usr.sbin/makefs/cd9660/iso9660_rrip.c
355
((S_ISCHR(node->node->inode->st.st_mode) ||
usr.sbin/makefs/ffs.c
624
} else if (S_ISBLK(cur->type) || S_ISCHR(cur->type)) {
usr.sbin/makefs/ffs.c
666
} else if (S_ISBLK(cur->type) || S_ISCHR(cur->type)) {
usr.sbin/makefs/msdos/mkfs_msdos.c
274
if (!S_ISCHR(sb.st_mode) && !o.create_size) {
usr.sbin/mtree/compare.c
88
if (!S_ISCHR(p->fts_statp->st_mode))
usr.sbin/pstat/pstat.c
565
if (S_ISCHR(ip->i_ffs1_mode) || S_ISBLK(ip->i_ffs1_mode))
usr.sbin/pstat/pstat.c
665
if (S_ISCHR(np->n_vattr.va_mode) || S_ISBLK(np->n_vattr.va_mode))