Searched refs:O_RDWR (Results 276 - 300 of 630) sorted by relevance

<<11121314151617181920>>

/freebsd-11.0-release/usr.sbin/i2c/
H A Di2c.c128 fd = open(dev, O_RDWR);
216 fd = open(dev, O_RDWR);
277 fd = open(dev, O_RDWR);
432 fd = open(dev, O_RDWR);
/freebsd-11.0-release/usr.sbin/kgmon/
H A Dkgmon.c165 if (accessmode == O_RDWR)
207 return (O_RDWR);
213 ? O_RDWR : O_RDONLY;
216 if (openmode == O_RDWR) {
/freebsd-11.0-release/usr.sbin/mfiutil/
H A Dmfi_flash.c123 fd = mfi_open(mfi_unit, O_RDWR);
H A Dmfi_volume.c298 fd = mfi_open(mfi_unit, O_RDWR);
407 fd = mfi_open(mfi_unit, O_RDWR);
/freebsd-11.0-release/usr.sbin/mpsutil/
H A Dmps_flash.c92 fd = open(firmware_file, O_CREAT | O_TRUNC | O_RDWR, 0644);
/freebsd-11.0-release/usr.sbin/uathload/
H A Duathload.c160 msg = open(msgdev, O_RDWR, 0);
/freebsd-11.0-release/usr.sbin/wake/
H A Dwake.c192 if ((bpf = open(_PATH_BPF, O_RDWR)) == -1)
/freebsd-11.0-release/crypto/heimdal/lib/kafs/
H A Dafssys.c171 fd = open(path, O_RDWR);
213 fd = open(afs_ioctlpath, O_RDWR);
/freebsd-11.0-release/crypto/heimdal/lib/krb5/
H A Dkeytab_keyfile.c333 fd = open (d->filename, O_RDWR | O_BINARY | O_CLOEXEC);
336 O_RDWR | O_BINARY | O_CREAT | O_EXCL | O_CLOEXEC, 0600);
/freebsd-11.0-release/contrib/tcsh/
H A Dtc.os.h361 #ifndef O_RDWR
362 # define O_RDWR 2 macro
363 #endif /* O_RDWR */
/freebsd-11.0-release/lib/libc/db/btree/
H A Dbt_open.c193 case O_RDWR:
204 if ((flags & O_ACCMODE) != O_RDWR)
/freebsd-11.0-release/lib/libc/gen/
H A Dsem_new.c178 fd = _open(path, flags | O_RDWR | O_CLOEXEC |
210 fd = _open(path, flags | O_RDWR | O_CLOEXEC | O_EXLOCK, mode);
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_fopen.c61 fd = open(path, O_RDWR | O_CREAT);
129 fd = open(path, O_RDWR | O_CREAT);
/freebsd-11.0-release/contrib/ntp/libntp/
H A Daudio.c266 fd = open(dname, O_RDWR | O_NONBLOCK, 0777);
275 ctl_fd = open(actl, O_RDWR);
/freebsd-11.0-release/contrib/libreadline/
H A Dhistfile.c433 mode = overwrite ? O_RDWR|O_CREAT|O_TRUNC|O_BINARY : O_RDWR|O_APPEND|O_BINARY;
/freebsd-11.0-release/contrib/dma/
H A Dspool.c127 queuefd = open_locked(it->queuefn, O_CREAT|O_EXCL|O_RDWR, 0660);
361 queuefd = open_locked(it->queuefn, O_RDWR|O_NONBLOCK);
/freebsd-11.0-release/sbin/mount_fusefs/
H A Dmount_fusefs.c335 if ((fd = open(dev, O_RDWR)) < 0)
369 if (fd < 0 && (fd = open(dev, O_RDWR)) < 0)
/freebsd-11.0-release/tools/regression/geom/MdLoad/
H A DMdLoad.c256 fd = open(argv[1], O_RDWR);
259 fd = open(buf, O_RDWR);
/freebsd-11.0-release/tools/tools/net80211/w00t/libw00t/
H A Dw00t.c98 fd = open(buf, O_RDWR);
251 return open(buf, O_RDWR);
/freebsd-11.0-release/usr.sbin/apm/
H A Dapm.c451 fd = open(APMDEV, O_RDWR);
453 } else if ((fd = open(APMDEV, O_RDWR)) >= 0)
/freebsd-11.0-release/usr.sbin/autofs/
H A Dautomountd.c495 autofs_fd = open(AUTOFS_PATH, O_RDWR | O_CLOEXEC);
500 autofs_fd = open(AUTOFS_PATH, O_RDWR | O_CLOEXEC);
/freebsd-11.0-release/contrib/gdb/gdb/
H A Dremote-rdp.c803 O_RDWR, /* "r+" */
804 O_RDWR + O_BINARY, /* "r+b" */
807 O_RDWR + O_CREAT + O_TRUNC, /* "w+" */
808 O_RDWR + O_BINARY + O_CREAT + O_TRUNC, /* "w+b" */
811 O_RDWR + O_APPEND + O_CREAT, /* "a+" */
812 O_RDWR + O_BINARY + O_APPEND + O_CREAT /* "a+b" */
/freebsd-11.0-release/contrib/libpcap/
H A Dpcap-dlpi.c393 if ((p->fd = open(cp, O_RDWR)) < 0) {
415 pd->send_fd = open(cp, O_RDWR);
458 if ((p->fd = open(dname, O_RDWR)) < 0) {
470 if ((p->fd = open(dname2, O_RDWR)) < 0) {
979 if ((fd = open("/dev/ba", O_RDWR)) < 0) {
/freebsd-11.0-release/contrib/ipfilter/tools/
H A Dipfs.c117 fd = open(fname, O_RDWR);
182 fd = open(fname, O_RDWR);
358 if ((fd = open(ipfdev, O_RDWR)) == -1)
/freebsd-11.0-release/sbin/fdisk_pc98/
H A Dfdisk.c614 rwmode = I_flag || a_flag || B_flag || flag ? O_RDWR : O_RDONLY;
616 if (fd == -1 && errno == EPERM && rwmode == O_RDWR)
675 fdw = open(fbuf, O_RDWR, 0);

Completed in 255 milliseconds

<<11121314151617181920>>