S_ISCHR
if (S_ISBLK(st.st_mode) || S_ISCHR(st.st_mode)) {
if (S_ISCHR(type) || S_ISBLK(type)) {
fIsDevice = S_ISBLK(stat.st_mode) || S_ISCHR(stat.st_mode);
|| S_ISCHR(stat.st_mode))) {
if (S_ISBLK(statInfo.st_mode) || S_ISCHR(statInfo.st_mode)
return S_ISCHR(fdStat.st_mode);
} else if (S_ISCHR(st.st_mode)) {
else if (S_ISCHR(mode))
if (S_ISBLK(stat.st_mode) || S_ISCHR(stat.st_mode)) {
if (S_ISCHR(vnode->stream.type)) {
if (S_ISCHR(vnode->stream.type)) {
if (S_ISCHR(vnode->stream.type)) {
if (!S_ISCHR(vnode->stream.type))
if (!S_ISCHR(vnode->stream.type))
if (S_ISCHR(vnode->stream.type)) {
if (!S_ISCHR(vnode->stream.type)
if (!S_ISCHR(vnode->stream.type))
if (!S_ISCHR(vnode->stream.type))
if (!S_ISCHR(vnode->stream.type))
if (!S_ISCHR(vnode->stream.type)
if (!S_ISCHR(vnode->stream.type)
if (!S_ISCHR(vnode->stream.type)
if (!S_ISCHR(vnode->stream.type) || cookie == NULL) {
if (S_ISCHR(vnode->stream.type)) {
if (!S_ISCHR(node->stream.type)) {
if (!S_ISCHR(node->stream.type) || node->stream.u.dev.partition != NULL) {
if (S_ISCHR(vnode->stream.type)) {
if (!S_ISCHR(device->stream.type))
if (!S_ISBLK(stat->st_mode) && !S_ISCHR(stat->st_mode))
else if (S_ISBLK(st.st_mode) || S_ISCHR(st.st_mode))
if (!(S_ISREG(st.st_mode) || S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode))) {
if (S_ISCHR (st.st_mode))
if (!S_ISCHR(fdStat.st_mode) || !isatty(fd))
if (!S_ISREG(st.st_mode) && !S_ISBLK(st.st_mode) && !S_ISCHR(st.st_mode)) {