Searched refs:O_RDWR (Results 126 - 150 of 630) sorted by relevance

1234567891011>>

/freebsd-11.0-release/tools/tools/tionxcl/
H A Dtionxcl.c87 fd = open(ttyname, O_RDWR);
/freebsd-11.0-release/contrib/ntp/sntp/libopts/compat/
H A Dwindows-config.h101 #define O_RDWR _O_RDWR macro
/freebsd-11.0-release/usr.bin/tip/tip/
H A Dhunt.c86 FD = open(cp, (O_RDWR |
/freebsd-11.0-release/usr.sbin/mfiutil/
H A Dmfi_patrol.c90 fd = mfi_open(mfi_unit, O_RDWR);
200 fd = mfi_open(mfi_unit, O_RDWR);
226 fd = mfi_open(mfi_unit, O_RDWR);
296 fd = mfi_open(mfi_unit, O_RDWR);
H A Dmfi_bbu.c135 fd = mfi_open(mfi_unit, O_RDWR);
172 fd = mfi_open(mfi_unit, O_RDWR);
/freebsd-11.0-release/tests/sys/posixshm/
H A Dposixshm_test.c105 fd = shm_open(test_path, O_CREAT|O_EXCL|O_RDWR, 0777);
109 fd = shm_open(test_path, O_CREAT | O_EXCL | O_RDWR, 0777);
255 fd = shm_open(SHM_ANON, O_RDWR, 0777);
320 fd = shm_open(test_path, O_RDWR | O_CREAT, 0777);
330 fd = shm_open(test_path, O_RDWR | O_TRUNC, 0777);
371 fd = shm_open(SHM_ANON, O_CREAT|O_RDWR, 0777);
540 desc = shm_open(test_path, O_EXCL | O_CREAT | O_RDWR, 0600);
/freebsd-11.0-release/contrib/gdb/gdb/
H A Dinflow.c444 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
455 case O_RDWR:
456 printf_filtered ("O_RDWR");
529 tty = open ("/dev/tty", O_RDWR);
544 tty = open (inferior_thisrun_terminal, O_RDWR | O_NOCTTY);
546 tty = open (inferior_thisrun_terminal, O_RDWR);
/freebsd-11.0-release/contrib/netbsd-tests/fs/vfs/
H A Dt_vnops.c176 fd = rump_sys_open(pb2, O_RDWR | O_CREAT, 0777);
472 fd = rump_sys_open(name, O_RDWR|O_CREAT, 0666);
493 RL(fd = rump_sys_open(name, O_RDWR|O_CREAT|O_EXCL, 0666));
496 RL(fd = rump_sys_open(name, O_RDWR|O_CREAT, 0666));
498 RL(fd = rump_sys_open(name, O_RDWR|O_CREAT, 0666));
501 (fd = rump_sys_open(name, O_RDWR|O_CREAT|O_EXCL, 0666)));
532 fd = rump_sys_open("dummy", O_RDWR|O_CREAT, 0666);
624 RL(fd = rump_sys_open(TESTFILE, O_RDWR | O_CREAT, 0755));
684 RL(fd = rump_sys_open(TESTFILE, O_RDWR | O_CREAT, 0755));
695 RL(fd2 = rump_sys_open(TESTFILE, O_RDWR,
[all...]
H A Dt_ro.c65 RL(fd = rump_sys_open(AFILE, O_CREAT | O_RDWR, 0777));
115 ATF_REQUIRE_ERRNO(expected, rump_sys_open(AFILE, O_RDWR) == -1);
/freebsd-11.0-release/crypto/heimdal/lib/kadm5/
H A Dchpass_s.c52 ret = context->db->hdb_open(context->context, context->db, O_RDWR, 0);
166 ret = context->db->hdb_open(context->context, context->db, O_RDWR, 0);
H A Dget_princs_s.c88 ret = context->db->hdb_open(context->context, context->db, O_RDWR, 0);
H A Dmodify_s.c53 ret = context->db->hdb_open(context->context, context->db, O_RDWR, 0);
H A Drandkey_s.c54 ret = context->db->hdb_open(context->context, context->db, O_RDWR, 0);
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Utility/
H A DPseudoTerminal.cpp244 int flags = O_RDWR;
262 if (OpenSlave (O_RDWR, error_str, error_len))
/freebsd-11.0-release/contrib/unbound/libunbound/python/
H A Dfile_py3.i48 if (fdfl & O_RDWR) {
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/sys/
H A Dt_write.c82 fd = open(path, O_RDWR | O_CREAT);
154 fd = open(path, O_RDWR | O_CREAT);
/freebsd-11.0-release/contrib/netbsd-tests/net/bpf/
H A Dt_bpf.c86 RL(bpfd = rump_sys_open("/dev/bpf", O_RDWR));
159 RL(bpfd = rump_sys_open("/dev/bpf", O_RDWR));
/freebsd-11.0-release/contrib/netbsd-tests/net/net/
H A Dt_tcp.c132 if (fl != (O_RDWR|O_NONBLOCK))
133 FAIL("fl 0x%x != 0x%x\n", fl, O_RDWR|O_NONBLOCK);
/freebsd-11.0-release/contrib/libarchive/libarchive/test/
H A Dtest_open_fd.c47 fd = open("test.tar", O_RDWR | O_CREAT | O_BINARY);
49 fd = open("test.tar", O_RDWR | O_CREAT | O_BINARY, 0777);
/freebsd-11.0-release/contrib/ipfilter/ipsd/
H A Dsbpf.c133 if ((fd = open(bpfname, O_RDWR)) < 0)
145 if ((fd = open(bpfname, O_RDWR)) >= 0)
/freebsd-11.0-release/lib/libutil/
H A Dquotafile.c171 if ((qf->fd = open(qf->qfname, O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0)) <
408 if ((qf->accmode & O_RDWR) != O_RDWR) {
456 if ((qf->accmode & O_RDWR) != O_RDWR) {
517 if ((qf->accmode & O_RDWR) != O_RDWR || qf->fd == -1) {
538 if ((newqf->fd = open(qf->qfname, O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC,
/freebsd-11.0-release/tools/tools/ioat/
H A Dioatcontrol.c93 fd = open("/dev/ioat_test", O_RDWR);
217 fd = open("/dev/ioat_test", O_RDWR);
/freebsd-11.0-release/usr.bin/tip/libacu/
H A Dv831.c68 if ((AC = open(acu, O_RDWR)) < 0) {
96 if ((FD = open(DV, O_RDWR)) < 0) {
/freebsd-11.0-release/usr.sbin/sa/
H A Ddb.c64 if ((*mdb = dbopen(NULL, O_RDWR, 0, DB_BTREE, bti)) == NULL)
155 if ((ddb = dbopen(dbname, O_RDWR|O_CREAT|O_TRUNC, 0644,
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Core/
H A DConnectionSharedMemory.cpp150 int oflag = O_RDWR;

Completed in 194 milliseconds

1234567891011>>