Searched refs:O_RDWR (Results 26 - 50 of 630) sorted by relevance

1234567891011>>

/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/c063/
H A Dt_symlinkat.c66 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 Dt_faccessat.c65 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 Dt_fchmodat.c66 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 Dt_fstatat.c66 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 Dt_openat.c63 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 Dh_client.c100 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 Duu_open.c58 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600);
/freebsd-11.0-release/share/examples/ses/srcs/
H A Dinienc.c51 fd = open(*v, O_RDWR);
H A Dsetencstat.c56 fd = open(v[1], O_RDWR);
/freebsd-11.0-release/contrib/pjdfstest/tests/open/
H A D16.t26 expect $error open ${n1} O_RDWR,O_NOFOLLOW
H A D20.t23 expect ETXTBSY open ${n0} O_RDWR
/freebsd-11.0-release/contrib/netbsd-tests/fs/vfs/
H A Dt_io.c57 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 Dt_filedesc.c83 fd = fd_wrk = rump_sys_open("/dev/null", O_RDWR, 0);
95 fd_wrk = rump_sys_open("/dev/null", O_RDWR, 0);
H A Dt_rnd.c58 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 Dsysdep.h110 #ifndef O_RDWR macro
111 #define O_RDWR 2
/freebsd-11.0-release/lib/libutil/
H A Dpty.c59 master = posix_openpt(O_RDWR|O_NOCTTY);
73 slave = open(slavename, O_RDWR);
/freebsd-11.0-release/crypto/openssh/
H A Dsshpty.c107 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 Dfdopen_test.c82 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 Daudit_bsm_klib.c89 { 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 Dcap_fcntls_limit.c62 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 Dstdio.c72 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 Dh_quota2_tests.c61 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 Dmkstemp.c64 fd = open(template, O_RDWR | O_CREAT | O_EXCL, 0600);
/freebsd-11.0-release/contrib/opie/libopie/
H A Dunlock.c56 if (!(fh = open(__opie_lockfilename, O_RDWR, 0600)))
/freebsd-11.0-release/lib/libc/gen/
H A Ddaemon.c87 if (!noclose && (fd = _open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {

Completed in 120 milliseconds

1234567891011>>