| /trueos/contrib/netbsd-tests/lib/libc/sys/ |
| HD | t_mknod.c | 68 ATF_REQUIRE_ERRNO(EINVAL, mknod(path, S_IFCHR, -1) == -1); in ATF_TC_BODY() 72 ATF_REQUIRE_ERRNO(ENAMETOOLONG, mknod(buf, S_IFCHR, 0) == -1); in ATF_TC_BODY() 75 ATF_REQUIRE_ERRNO(EFAULT, mknod((char *)-1, S_IFCHR, 0) == -1); in ATF_TC_BODY() 78 ATF_REQUIRE_ERRNO(ENOENT, mknod("/a/b/c/d/e/f/g", S_IFCHR, 0) == -1); in ATF_TC_BODY() 105 mknod("/etc/passwd", S_IFCHR, 0) == -1); in ATF_TC_BODY() 108 ATF_REQUIRE(mknod(path, S_IFCHR, 0) == 0); in ATF_TC_BODY() 111 ATF_REQUIRE_ERRNO(EEXIST, mknod(path, S_IFCHR, 0) == -1); in ATF_TC_BODY() 132 ATF_REQUIRE_ERRNO(EPERM, mknod(path, S_IFCHR, 0) == -1); in ATF_TC_BODY() 156 ATF_REQUIRE(mknod(path, S_IFCHR, 0) == 0); in ATF_TC_BODY()
|
| /trueos/contrib/libreadline/ |
| HD | posixstat.h | 57 #if defined (_S_IFCHR) && !defined (S_IFCHR) 58 #define S_IFCHR _S_IFCHR macro 83 #if defined (S_IFCHR) && !defined (S_ISCHR) 84 #define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR) /* character device */
|
| /trueos/contrib/netbsd-tests/lib/libc/c063/ |
| HD | t_mknodat.c | 75 mode_t mode = S_IFCHR|0600; in ATF_TC_BODY() 96 mode_t mode = S_IFCHR|0600; in ATF_TC_BODY() 116 mode_t mode = S_IFCHR|0600; in ATF_TC_BODY() 132 mode_t mode = S_IFCHR|0600; in ATF_TC_BODY()
|
| /trueos/contrib/gdb/gdb/ |
| HD | gdb_stat.h | 43 #if !defined(S_ISCHR) && defined(S_IFCHR) 44 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
|
| /trueos/sbin/mknod/ |
| HD | mknod.c | 125 mode |= S_IFCHR; in main() 146 mode = 0666 | S_IFCHR; in main()
|
| /trueos/contrib/binutils/binutils/ |
| HD | filemode.c | 151 #ifdef S_IFCHR 152 #define S_ISCHR(i) (((i) & S_IFMT) == S_IFCHR)
|
| /trueos/contrib/diff/lib/ |
| HD | file-type.h | 59 # ifdef S_IFCHR 60 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
|
| /trueos/contrib/file/src/ |
| HD | fsmagic.c | 146 sb->st_mode |= S_IFCHR; in file_fsmagic() 197 #ifdef S_IFCHR in file_fsmagic() 198 case S_IFCHR: in file_fsmagic()
|
| /trueos/lib/libprocstat/ |
| HD | common_kvm.c | 128 vn->vn_mode = (devfs_dirent.de_mode & ~S_IFMT) | S_IFCHR; in devfs_filestat() 160 mode |= S_IFCHR; in nfs_filestat()
|
| /trueos/contrib/tcsh/ |
| HD | tc.os.h | 218 # define S_IFCHR 0020000 /* character special */ macro 244 # if !defined(S_ISCHR) && defined(S_IFCHR) 245 # define S_ISCHR(a) (((a) & S_IFMT) == S_IFCHR)
|
| /trueos/crypto/openssl/crypto/rand/ |
| HD | randfile.c | 154 #if defined(S_IFBLK) && defined(S_IFCHR) && !defined(OPENSSL_NO_POSIX_IO) in RAND_load_file() 155 if (sb.st_mode & (S_IFBLK | S_IFCHR)) { in RAND_load_file()
|
| /trueos/contrib/mtree/ |
| HD | misc.c | 255 return S_IFCHR; in nodetoino() 290 case S_IFCHR: in inotype()
|
| /trueos/include/apple/sys/_types/ |
| HD | _s_ifmt.h | 37 #define S_IFCHR 0020000 /* [XSI] character special */ macro
|
| /trueos/contrib/netbsd-tests/fs/lfs/ |
| HD | t_pr.c | 51 if (rump_sys_mknod("/mp/node", S_IFCHR | 0777, 0) == -1) in ATF_TC_BODY()
|
| /trueos/sbin/fsck_ffs/ |
| HD | utilities.c | 83 case S_IFCHR: in blockcheck()
|
| /trueos/crypto/openssh/openbsd-compat/ |
| HD | strmode.c | 50 case S_IFCHR: /* character special */ in strmode()
|
| /trueos/lib/libc/string/ |
| HD | strmode.c | 48 case S_IFCHR: /* character special */ in strmode()
|
| /trueos/contrib/libreadline/examples/rlfe/ |
| HD | os.h | 350 #if defined(S_IFCHR) && defined(S_IFMT) && !defined(S_ISCHR) 351 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR)
|
| /trueos/lib/libc/stdio/ |
| HD | makebuf.c | 101 *couldbetty = (st.st_mode & S_IFMT) == S_IFCHR; in __swhatbuf()
|
| /trueos/contrib/ipfilter/ |
| HD | ml_ipl.c | 152 int error = 0, fmode = S_IFCHR|0600;
|
| HD | mls_ipl.c | 204 int error = 0, fmode = S_IFCHR|0600, i; in ipf_attach()
|
| /trueos/usr.sbin/pstat/ |
| HD | pstat.c | 347 (name = devname(xt->xt_dev, S_IFCHR)) == NULL) in ttyprt() 579 "/dev/%s", devname(xsw.xsw_dev, S_IFCHR)); in swapmode_sysctl()
|
| /trueos/usr.bin/lastcomm/ |
| HD | lastcomm.c | 264 lastname = devname(dev, S_IFCHR); in getdev()
|
| /trueos/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
| HD | lockstat.c | 246 if (ddi_create_minor_node(devi, "lockstat", S_IFCHR, 0, in lockstat_attach()
|
| /trueos/lib/libkvm/ |
| HD | kvm_getswapinfo.c | 88 devname(dev, S_IFCHR) \
|