Searched refs:S_ISCHR (Results 26 - 50 of 83) sorted by relevance

1234

/freebsd-11-stable/contrib/netbsd-tests/include/
H A Dt_paths.c183 ATF_CHECK(S_ISBLK(m) != 0 || S_ISCHR(m) != 0);
/freebsd-11-stable/usr.sbin/trim/
H A Dtrim.c190 if (!S_ISCHR(sb.st_mode) && !S_ISBLK(sb.st_mode))
/freebsd-11-stable/contrib/libreadline/examples/rlfe/
H A Dos.h350 #if defined(S_IFCHR) && defined(S_IFMT) && !defined(S_ISCHR)
351 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
/freebsd-11-stable/sbin/ggate/shared/
H A Dggate.c141 if (S_ISCHR(sb.st_mode)) {
162 if (S_ISCHR(sb.st_mode)) {
/freebsd-11-stable/contrib/unbound/compat/
H A Dgetentropy_solaris.c200 if (fstat(fd, &st) == -1 || !S_ISCHR(st.st_mode) ||
399 if (S_ISCHR(st.st_mode)) {
H A Dgetentropy_linux.c240 if (fstat(fd, &st) == -1 || !S_ISCHR(st.st_mode)) {
481 if (S_ISCHR(st.st_mode)) {
H A Dgetentropy_osx.c172 if (fstat(fd, &st) == -1 || !S_ISCHR(st.st_mode)) {
377 if (S_ISCHR(st.st_mode)) {
/freebsd-11-stable/bin/ls/
H A Dprint.c272 if (S_ISCHR(sp->st_mode))
292 if (S_ISCHR(sp->st_mode) || S_ISBLK(sp->st_mode))
804 if (S_ISCHR(p->fts_statp->st_mode) || S_ISBLK(p->fts_statp->st_mode) ||
/freebsd-11-stable/usr.sbin/bhyve/
H A Dblock_if.c487 if (S_ISCHR(sbuf.st_mode)) {
526 if (S_ISCHR(sbuf.st_mode)) {
548 bc->bc_ischr = S_ISCHR(sbuf.st_mode);
/freebsd-11-stable/bin/dd/
H A Ddd.c268 if (S_ISCHR(sb.st_mode) || S_ISBLK(sb.st_mode)) {
276 if (S_ISCHR(sb.st_mode) && (type & D_TAPE) == 0)
/freebsd-11-stable/contrib/openbsm/bin/auditfilterd/
H A Dauditfilterd.c318 if (!S_ISCHR(sb.st_mode))
/freebsd-11-stable/lib/libc/gen/
H A Dfstab.c105 (!S_ISBLK(sb.st_mode) && !S_ISCHR(sb.st_mode)))
/freebsd-11-stable/sys/sys/
H A Dstat.h238 #define S_ISCHR(m) (((m) & 0170000) == 0020000) /* char special */ macro
/freebsd-11-stable/sbin/hastd/
H A Dsubr.c102 if (S_ISCHR(sb.st_mode)) {
/freebsd-11-stable/libexec/flua/modules/
H A Dlfs.c249 else if (S_ISCHR(mode))
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_open_filename.c201 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode) ||
/freebsd-11-stable/contrib/gcc/
H A Dsystem.h473 #ifndef S_ISCHR
474 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
/freebsd-11-stable/usr.sbin/bhyveload/
H A Dbhyveload.c326 if (S_ISCHR(sb.st_mode) &&
650 if (!S_ISCHR(sb.st_mode))
/freebsd-11-stable/gnu/usr.bin/gdb/kgdb/
H A Dmain.c283 if (!S_ISCHR(st.st_mode) && !S_ISFIFO(st.st_mode))
/freebsd-11-stable/usr.bin/hexdump/
H A Ddisplay.c390 if (S_ISCHR(sb.st_mode) || S_ISBLK(sb.st_mode)) {
/freebsd-11-stable/usr.sbin/fmtree/
H A Dcompare.c92 if (!S_ISCHR(p->fts_statp->st_mode))
/freebsd-11-stable/usr.bin/killall/
H A Dkillall.c264 if (!S_ISCHR(sb.st_mode))
/freebsd-11-stable/sbin/recoverdisk/
H A Drecoverdisk.c201 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
/freebsd-11-stable/bin/ps/
H A Dps.c871 if (stat(pathbuf2, &sb) == 0 && S_ISCHR(sb.st_mode)) {
872 /* No need to repeat stat() && S_ISCHR() checks */
879 if (stat(pathbuf3, &sb) == 0 && S_ISCHR(sb.st_mode)) {
880 /* No need to repeat stat() && S_ISCHR() checks */
896 if (!S_ISCHR(sb.st_mode)) {
/freebsd-11-stable/contrib/mtree/
H A Dcompare.c153 if (!S_ISCHR(p->fts_statp->st_mode))

Completed in 140 milliseconds

1234