/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_symlinkat.c | 66 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 91 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 114 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 135 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
|
H A D | t_faccessat.c | 65 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 84 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 130 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 148 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
|
H A D | t_fchmodat.c | 66 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 89 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 138 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 156 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
|
H A D | t_fstatat.c | 66 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 89 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 139 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 158 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
|
H A D | t_openat.c | 63 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 83 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 133 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 151 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
|
/freebsd-11.0-release/contrib/netbsd-tests/lib/librumphijack/ |
H A D | h_client.c | 100 fd = open("/rump/dev/null", O_RDWR); 124 if ((fd = open("/dev/null", O_RDWR)) == -1) 127 fd = open("/dev/null", O_RDWR); 132 if ((fd = open("/rump/dev/null", O_RDWR)) != 8)
|
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libuutil/common/ |
H A D | uu_open.c | 58 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600);
|
/freebsd-11.0-release/share/examples/ses/srcs/ |
H A D | inienc.c | 51 fd = open(*v, O_RDWR);
|
H A D | setencstat.c | 56 fd = open(v[1], O_RDWR);
|
/freebsd-11.0-release/contrib/pjdfstest/tests/open/ |
H A D | 16.t | 26 expect $error open ${n1} O_RDWR,O_NOFOLLOW
|
H A D | 20.t | 23 expect ETXTBSY open ${n0} O_RDWR
|
/freebsd-11.0-release/contrib/netbsd-tests/fs/vfs/ |
H A D | t_io.c | 57 RL(fd = rump_sys_open("file", O_RDWR|O_CREAT|O_TRUNC, 0666)); 88 O_CREAT | O_RDWR | (seekcnt ? O_APPEND : 0))); 125 RL(fd = rump_sys_open("testi", O_CREAT | O_RDWR, 0666)); 129 RL(fd = rump_sys_open("testi", O_RDWR)); 164 RL(fd = rump_sys_open("file", O_RDWR|O_CREAT|O_TRUNC, 0666)); 181 RL(fd = rump_sys_open("file", O_RDWR|O_CREAT, 0666)); 189 RL(fd = rump_sys_open("file", O_RDWR)); 208 RL(fd = rump_sys_open("file", O_RDWR|O_CREAT, 0666));
|
/freebsd-11.0-release/contrib/netbsd-tests/kernel/ |
H A D | t_filedesc.c | 83 fd = fd_wrk = rump_sys_open("/dev/null", O_RDWR, 0); 95 fd_wrk = rump_sys_open("/dev/null", O_RDWR, 0);
|
H A D | t_rnd.c | 58 fd = rump_sys_open("/dev/random", O_RDWR, 0); 80 fd = rump_sys_open("/dev/random", O_RDWR, 0);
|
/freebsd-11.0-release/contrib/binutils/binutils/ |
H A D | sysdep.h | 110 #ifndef O_RDWR macro 111 #define O_RDWR 2
|
/freebsd-11.0-release/lib/libutil/ |
H A D | pty.c | 59 master = posix_openpt(O_RDWR|O_NOCTTY); 73 slave = open(slavename, O_RDWR);
|
/freebsd-11.0-release/crypto/openssh/ |
H A D | sshpty.c | 107 fd = open(tty, O_RDWR|O_NOCTTY); 120 fd = open("/dev/tty", O_RDWR); 129 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); 142 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); 157 fd = open(tty, O_RDWR);
|
/freebsd-11.0-release/lib/libc/tests/stdio/ |
H A D | fdopen_test.c | 82 runtest(_PATH_DEVNULL, O_RDWR, "r", true); 103 runtest(_PATH_DEVNULL, O_RDWR, "w", true); 124 runtest(_PATH_DEVNULL, O_RDWR, "a", true); 145 runtest(_PATH_DEVNULL, O_RDWR, "r+", true); 166 runtest(_PATH_DEVNULL, O_RDWR, "w+", true);
|
/freebsd-11.0-release/sys/security/audit/ |
H A D | audit_bsm_klib.c | 89 { O_RDWR, AUE_OPEN_RW }, 90 { (O_RDWR | O_CREAT), AUE_OPEN_RWC }, 91 { (O_RDWR | O_CREAT | O_TRUNC), AUE_OPEN_RWTC }, 92 { (O_RDWR | O_TRUNC), AUE_OPEN_RWT }, 104 { O_RDWR, AUE_OPENAT_RW }, 105 { (O_RDWR | O_CREAT), AUE_OPENAT_RWC }, 106 { (O_RDWR | O_CREAT | O_TRUNC), AUE_OPENAT_RWTC }, 107 { (O_RDWR | O_TRUNC), AUE_OPENAT_RWT }, 296 oflags = oflags & (O_RDONLY | O_CREAT | O_TRUNC | O_RDWR | O_WRONLY); 312 oflags = oflags & (O_RDONLY | O_CREAT | O_TRUNC | O_RDWR | O_WRONL [all...] |
/freebsd-11.0-release/tools/regression/capsicum/syscalls/ |
H A D | cap_fcntls_limit.c | 62 CHECK(fcntl(fd, F_GETFL) == O_RDWR); 64 CHECK(fcntl(fd, F_GETFL) == (O_RDWR | O_NONBLOCK)); 66 CHECK(fcntl(fd, F_GETFL) == O_RDWR); 86 CHECK(fcntl(fd, F_GETFL) == O_RDWR); 88 CHECK(fcntl(fd, F_GETFL) == (O_RDWR | O_NONBLOCK)); 90 CHECK(fcntl(fd, F_GETFL) == O_RDWR); 109 CHECK(fcntl(fd, F_GETFL) == O_RDWR); 113 CHECK(fcntl(fd, F_GETFL) == O_RDWR); 117 CHECK(fcntl(fd, F_GETFL) == O_RDWR); 292 CHECK(fcntl(fd, F_GETFL) == O_RDWR); [all...] |
/freebsd-11.0-release/contrib/sendmail/libsm/ |
H A D | stdio.c | 72 oflags = O_RDWR; 75 oflags = O_RDWR | O_CREAT | O_TRUNC; 87 oflags = O_APPEND | O_RDWR | O_CREAT; 415 oflags = O_RDWR | O_CREAT; 427 oflags = O_APPEND | O_RDWR | O_CREAT; 442 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) 503 case O_RDWR:
|
/freebsd-11.0-release/contrib/netbsd-tests/fs/ffs/ |
H A D | h_quota2_tests.c | 61 fd = rump_sys_open("test_fillup", O_CREAT | O_RDWR, 0644); 94 fd = rump_sys_open("test_fillup", O_CREAT | O_RDWR, 0644); 146 fd = rump_sys_open(buf, O_CREAT | O_RDWR, 0644); 187 fd = rump_sys_open(buf, O_EXCL| O_CREAT | O_RDWR, 0644); 197 fd = rump_sys_open(buf, O_EXCL| O_CREAT | O_RDWR, 0644); 241 fd = rump_sys_open(FSTEST_MNTNAME "/le_snap", O_CREAT | O_RDWR, 0777); 245 fssfd = rump_sys_open("/dev/rfss0", O_RDWR); 263 fd = rump_sys_open(buf, O_EXCL| O_CREAT | O_RDWR, 0644); 317 O_EXCL| O_CREAT | O_RDWR, 0644);
|
/freebsd-11.0-release/crypto/heimdal/lib/roken/ |
H A D | mkstemp.c | 64 fd = open(template, O_RDWR | O_CREAT | O_EXCL, 0600);
|
/freebsd-11.0-release/contrib/opie/libopie/ |
H A D | unlock.c | 56 if (!(fh = open(__opie_lockfilename, O_RDWR, 0600)))
|
/freebsd-11.0-release/lib/libc/gen/ |
H A D | daemon.c | 87 if (!noclose && (fd = _open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
|