Home
last modified time | relevance | path

Searched refs:S_ISCHR (Results 1 – 25 of 83) sorted by relevance

1234

/openbsd/gnu/usr.sbin/mkhybrid/src/include/
H A Dstatdefs.h32 #undef S_ISCHR /* Character special */
53 #ifndef S_ISCHR /* Character special */
55 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
57 # define S_ISCHR(m) (0) macro
/openbsd/gnu/usr.bin/binutils-2.17/binutils/
H A Dfilemode.c149 #ifndef S_ISCHR
151 #define S_ISCHR(i) (((i) & S_IFMT) == S_IFCHR) macro
153 #define S_ISCHR(i) 0 macro
190 if (S_ISCHR (bits)) in ftypelet()
/openbsd/gnu/usr.bin/binutils/binutils/
H A Dfilemode.c161 #ifndef S_ISCHR
163 #define S_ISCHR(i) (((i) & S_IFMT) == S_IFCHR) macro
165 #define S_ISCHR(i) 0 macro
202 if (S_ISCHR (bits)) in ftypelet()
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dgdb_stat.h29 #undef S_ISCHR
43 #if !defined(S_ISCHR) && defined(S_IFCHR)
44 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
/openbsd/gnu/lib/libreadline/
H A Dposixstat.h31 # undef S_ISCHR
83 #if defined (S_IFCHR) && !defined (S_ISCHR)
84 #define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR) /* character device */ macro
/openbsd/gnu/usr.bin/cvs/lib/
H A Dsystem.h19 #undef S_ISCHR
47 #if !defined(S_ISCHR) && defined(S_IFCHR)
49 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
51 # define S_ISCHR(m) ((m) & S_IFCHR) macro
/openbsd/gnu/usr.bin/cvs/diff/
H A Dsystem.h43 #undef S_ISCHR
58 #if !defined(S_ISCHR) && defined(S_IFCHR)
59 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
/openbsd/sbin/fsck/
H A Dfsutil.c169 if (!S_ISCHR(stb.st_mode)) in unrawname()
216 if (S_ISCHR(stchar.st_mode)) { in blockcheck()
222 } else if (S_ISCHR(stblock.st_mode) && !retried) { in blockcheck()
/openbsd/gnu/usr.bin/perl/ext/Fcntl/t/
H A Dmode.t40 ok( S_ISCHR($mode), " S_ISCHR $name");
42 ok(!S_ISCHR($mode), "!S_ISCHR $name");
/openbsd/lib/libc/gen/
H A Dttyname.c83 if (!S_ISCHR(sb.st_mode)) in ttyname_r()
127 || !S_ISCHR(dsb.st_mode) || sb->st_rdev != dsb.st_rdev) in oldttyname()
/openbsd/gnu/usr.sbin/mkhybrid/src/
H A Dvms.h17 #define S_ISCHR(X) (0) macro
/openbsd/gnu/lib/libstdc++/libstdc++/libio/
H A Dfiledoalloc.c89 couldbetty = S_ISCHR (st.st_mode);
H A Dwfiledoalloc.c94 couldbetty = S_ISCHR (st.st_mode);
/openbsd/lib/libfido2/src/
H A Dhid_unix.c39 if (S_ISCHR(st.st_mode) == 0) { in fido_hid_unix_open()
/openbsd/gnu/gcc/libcpp/
H A Dsystem.h303 #ifndef S_ISCHR
304 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
/openbsd/lib/libc/stdlib/
H A Dposix_pty.c71 if (!S_ISCHR(sb.st_mode)) { in ptmname()
/openbsd/lib/libcrypto/rand/
H A Drandfile.c104 (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode))) { in RAND_write_file()
/openbsd/gnu/usr.bin/binutils/include/mpw/
H A Dstat.h58 #define S_ISCHR(m) ((m & S_IFMT) == S_IFCHR) /* is a char spec */ macro
/openbsd/usr.bin/find/
H A Dls.c68 if (S_ISCHR(sb->st_mode) || S_ISBLK(sb->st_mode)) in printlong()
/openbsd/lib/libc/stdio/
H A Dmakebuf.c91 *couldbetty = S_ISCHR(st.st_mode); in __swhatbuf()
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dsystem.h396 #ifndef S_ISCHR
397 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
/openbsd/lib/libcrypto/arc4random/
H A Dgetentropy_hpux.c152 if (fstat(fd, &st) == -1 || !S_ISCHR(st.st_mode)) { in getentropy_urandom()
357 if (S_ISCHR(st.st_mode)) { in getentropy_fallback()
H A Dgetentropy_solaris.c178 if (fstat(fd, &st) == -1 || !S_ISCHR(st.st_mode) || in getentropy_urandom()
383 if (S_ISCHR(st.st_mode)) { in getentropy_fallback()
H A Dgetentropy_aix.c148 if (fstat(fd, &st) == -1 || !S_ISCHR(st.st_mode)) { in getentropy_urandom()
363 if (S_ISCHR(st.st_mode)) { in getentropy_fallback()
/openbsd/usr.sbin/dev_mkdb/
H A Ddev_mkdb.c115 if (S_ISCHR(dp->fts_statp->st_mode)) in main()

1234