Searched refs:O_RDWR (Results 226 - 250 of 630) sorted by relevance

1234567891011>>

/freebsd-11.0-release/usr.sbin/rpc.statd/
H A Dfile.c179 status_fd = open(filename, O_RDWR);
182 status_fd = open(filename, O_RDWR | O_CREAT, 0644);
/freebsd-11.0-release/usr.sbin/mfiutil/
H A Dmfi_config.c163 fd = mfi_open(mfi_unit, O_RDWR);
588 fd = mfi_open(mfi_unit, O_RDWR);
870 fd = mfi_open(mfi_unit, O_RDWR);
938 fd = mfi_open(mfi_unit, O_RDWR);
1063 fd = mfi_open(mfi_unit, O_RDWR);
1212 fd = mfi_open(mfi_unit, O_RDWR);
1249 fd = mfi_open(mfi_unit, O_RDWR);
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/sys/
H A Dt_mmap.c255 fd = open(path, O_RDWR | O_CREAT, 0600);
383 fd = open(path, O_RDWR | O_CREAT, 0700);
431 fd = open(path, O_RDWR | O_CREAT, 0700);
H A Dt_msync.c71 fd = open(path, O_RDWR | O_CREAT, 0700);
/freebsd-11.0-release/contrib/ipfilter/tools/
H A Dipf.c199 if ((fd = open(ipfdev, O_RDWR)) == -1)
325 xfd = open(IPSTATE_NAME, O_RDWR);
342 xfd = open(IPNAT_NAME, O_RDWR);
/freebsd-11.0-release/usr.sbin/sesutil/
H A Dsesutil.c209 if ((fd = open(g.gl_pathv[i], O_RDWR)) < 0) {
331 if ((fd = open(g.gl_pathv[i], O_RDWR)) < 0) {
460 if ((fd = open(g.gl_pathv[i], O_RDWR)) < 0) {
/freebsd-11.0-release/contrib/wpa/wpa_supplicant/
H A Dmain.c137 fd[i] = open("/dev/null", O_RDWR);
/freebsd-11.0-release/contrib/sendmail/src/
H A Dstats.c155 fd = safeopen(sfile, O_RDWR, 0600, sff);
/freebsd-11.0-release/contrib/opie/libopie/
H A Dlock.c222 if ((fh = open(__opie_lockfilename, O_RDWR, 0600)) < 0) {
/freebsd-11.0-release/lib/libc/gen/
H A Dreadpassphrase.c73 input = output = _open(_PATH_TTY, O_RDWR | O_CLOEXEC);
/freebsd-11.0-release/crypto/openssh/openbsd-compat/
H A Dreadpassphrase.c88 (input = output = open(_PATH_TTY, O_RDWR)) == -1) {
/freebsd-11.0-release/crypto/openssh/
H A Dreadpass.c134 ttyfd = open(_PATH_TTY, O_RDWR);
/freebsd-11.0-release/contrib/llvm/lib/Support/Unix/
H A DMemory.inc95 static int zero_fd = open("/dev/zero", O_RDWR);
189 static int zero_fd = open("/dev/zero", O_RDWR);
/freebsd-11.0-release/contrib/netbsd-tests/net/fdpass/
H A Dfdpass.c205 fd = open("foo", O_RDWR|O_CREAT|O_TRUNC, 0666);
/freebsd-11.0-release/contrib/netbsd-tests/rump/rumpkern/h_client/
H A Dh_stresscli.c62 fd = rump_sys_open("/dev/null", O_RDWR);
/freebsd-11.0-release/contrib/netbsd-tests/crypto/opencrypto/
H A Dh_xcbcmac.c81 fd = open("/dev/crypto", O_RDWR, 0);
/freebsd-11.0-release/contrib/netbsd-tests/fs/puffs/
H A Dt_fuzz.c119 kargs->pa_fd = rump_sys_open("/dev/putter", O_RDWR);
/freebsd-11.0-release/contrib/netbsd-tests/fs/vfs/
H A Dt_union.c35 RL(fd = rump_sys_open(pathb, O_CREAT | O_RDWR, 0777));
/freebsd-11.0-release/contrib/netbsd-tests/kernel/
H A Dt_mqueue.c136 mqfd = mq_open(mq_name, O_RDWR | O_CREAT,
/freebsd-11.0-release/contrib/blacklist/bin/
H A Dstate.c81 O_RDWR|O_SHLOCK|O_TRUNC;
/freebsd-11.0-release/contrib/elftoolchain/brandelf/
H A Dbrandelf.c161 if ((fd = open(argv[0], (change || force) ? O_RDWR :
/freebsd-11.0-release/contrib/ipfilter/ipsend/
H A Dsnit.c69 if ((fd = open("/dev/nit", O_RDWR)) < 0)
/freebsd-11.0-release/share/examples/perfmon/
H A Dperfmon.c114 fd = open(_PATH_PERFMON, O_RDWR, 0);
/freebsd-11.0-release/lib/libc/stdio/
H A Dfmemopen.c81 if (!(flags & O_RDWR) && buf == NULL) {
H A Dfreopen.c96 if ((dflags & O_ACCMODE) != O_RDWR &&

Completed in 125 milliseconds

1234567891011>>