Symbol: S_ISCHR
bin/dd/dd.c
320
if (S_ISCHR(sb.st_mode) || S_ISBLK(sb.st_mode)) {
bin/dd/dd.c
328
if (S_ISCHR(sb.st_mode) && (type & D_TAPE) == 0)
bin/df/df.c
218
} else if (S_ISCHR(stbuf.st_mode)) {
bin/ls/ls.c
975
if (S_ISCHR(sp->st_mode) ||
bin/ls/print.c
245
if (S_ISCHR(sp->st_mode) || S_ISBLK(sp->st_mode))
bin/ls/print.c
787
if (S_ISCHR(p->fts_statp->st_mode) || S_ISBLK(p->fts_statp->st_mode) ||
bin/pax/ar_io.c
173
if (S_ISCHR(arsb.st_mode))
bin/ps/ps.c
953
if (stat(pathbuf2, &sb) == 0 && S_ISCHR(sb.st_mode)) {
bin/ps/ps.c
961
if (stat(pathbuf3, &sb) == 0 && S_ISCHR(sb.st_mode)) {
bin/ps/ps.c
978
if (!S_ISCHR(sb.st_mode)) {
bin/test/test.c
390
return S_ISCHR(s.st_mode);
crypto/heimdal/appl/ftp/ftpd/ls.c
163
else if(S_ISCHR(st->st_mode))
crypto/heimdal/appl/ftp/ftpd/ls.c
245
if(S_ISCHR(st->st_mode) || S_ISBLK(st->st_mode)) {
lib/libc/gen/ctermid.c
58
if (stat(_PATH_TTY, &sb) == 0 && S_ISCHR(sb.st_mode))
lib/libc/gen/devname.c
47
if (dev == NODEV || !(S_ISCHR(type) || S_ISBLK(type))) {
lib/libc/gen/devname.c
52
if (S_ISCHR(type)) {
lib/libc/gen/devname.c
61
S_ISCHR(type) ? 'C' : 'B', (uintmax_t)dev);
lib/libc/gen/fstab.c
101
(!S_ISBLK(sb.st_mode) && !S_ISCHR(sb.st_mode)))
lib/libkvm/kvm.c
153
if (S_ISCHR(st.st_mode)) {
lib/libufs/type.c
118
} else if (ret >= 0 && S_ISCHR(st.st_mode)) {
lib/libutil/mntopts.c
183
if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode))
lib/libutil/mntopts.c
209
if (S_ISCHR(mntdevstat.st_mode) &&
libexec/flua/lfs/lfs.c
269
else if (S_ISCHR(mode))
sbin/fsck/fsutil.c
183
if (!S_ISCHR(stchar.st_mode)) {
sbin/ggate/shared/ggate.c
139
if (S_ISCHR(sb.st_mode)) {
sbin/ggate/shared/ggate.c
160
if (S_ISCHR(sb.st_mode)) {
sbin/growfs/growfs.c
1250
if (!S_ISCHR(devstat.st_mode))
sbin/hastd/hastd.c
146
else if (S_ISCHR(mode))
sbin/hastd/subr.c
99
if (S_ISCHR(sb.st_mode)) {
sbin/ipf/ipmon/ipmon.c
1743
l->regular = !S_ISCHR(sb.st_mode);
sbin/newfs_msdos/mkfs_msdos.c
301
if (!S_ISCHR(sb.st_mode))
sbin/newfs_msdos/mkfs_msdos.c
830
r = S_ISCHR(mode) && s1 != fname && *s1 == 'r';
sbin/recoverdisk/recoverdisk.c
539
if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
sbin/swapon/swapon.c
720
else if (S_ISCHR(sb.st_mode)) {
sys/fs/ext2fs/ext2_inode_cnv.c
222
if (S_ISCHR(ip->i_mode) || S_ISBLK(ip->i_mode)) {
sys/fs/ext2fs/ext2_inode_cnv.c
314
if (S_ISCHR(ip->i_mode) || S_ISBLK(ip->i_mode)) {
tools/regression/aio/aiop/aiop.c
181
} else if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
tools/tools/zfsboottest/zfsboottest.c
64
if (S_ISCHR(sb.st_mode) && ioctl(fd, DIOCGMEDIASIZE, &sb.st_size) != 0)
usr.bin/find/ls.c
66
if (S_ISCHR(sb->st_mode) || S_ISBLK(sb->st_mode))
usr.bin/hexdump/display.c
405
if (S_ISCHR(sb.st_mode) || S_ISBLK(sb.st_mode)) {
usr.bin/killall/killall.c
262
if (!S_ISCHR(sb.st_mode))
usr.bin/mkuzip/mkuz_insize.c
69
} else if (S_ISCHR(sb.st_mode)) {
usr.bin/sort/sort.c
933
if (!S_ISREG(fsb.st_mode) && !S_ISCHR(fsb.st_mode))
usr.bin/sort/sort.c
958
} else if (S_ISCHR(fsb.st_mode)) {
usr.bin/stat/stat.c
669
st->st_rdev, S_ISCHR(st->st_mode) ? S_IFCHR :
usr.bin/stat/stat.c
941
if (S_ISCHR(st->st_mode) || S_ISBLK(st->st_mode)) {
usr.bin/w/w.c
585
if (stat(ttybuf, &sb) == 0 && S_ISCHR(sb.st_mode))
usr.sbin/bhyve/block_if.c
581
if (S_ISCHR(sbuf.st_mode)) {
usr.sbin/bhyve/block_if.c
623
if (S_ISCHR(sbuf.st_mode)) {
usr.sbin/bhyve/block_if.c
645
bc->bc_ischr = S_ISCHR(sbuf.st_mode);
usr.sbin/bhyve/block_if.c
689
if (S_ISCHR(sb.st_mode)) {
usr.sbin/bhyveload/bhyveload.c
368
if (S_ISCHR(sb.st_mode) &&
usr.sbin/bhyveload/bhyveload.c
700
if (!S_ISCHR(sb.st_mode))
usr.sbin/camdd/camdd.c
1070
} else if (S_ISCHR(file_dev->sb.st_mode)) {
usr.sbin/fifolog/lib/fifolog_create.c
71
!S_ISCHR(st.st_mode) &&
usr.sbin/makefs/cd9660/iso9660_rrip.c
375
((S_ISCHR(node->node->inode->st.st_mode) ||
usr.sbin/makefs/ffs.c
766
} else if (S_ISBLK(cur->type) || S_ISCHR(cur->type)) {
usr.sbin/makefs/ffs.c
824
} else if (S_ISBLK(cur->type) || S_ISCHR(cur->type)) {
usr.sbin/makefs/walk.c
618
if (S_ISCHR(mode))
usr.sbin/trim/trim.c
191
if (!S_ISCHR(sb.st_mode) && !S_ISBLK(sb.st_mode))