/freebsd-11.0-release/usr.sbin/i2c/ |
H A D | i2c.c | 128 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 D | kgmon.c | 165 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 D | mfi_flash.c | 123 fd = mfi_open(mfi_unit, O_RDWR);
|
H A D | mfi_volume.c | 298 fd = mfi_open(mfi_unit, O_RDWR); 407 fd = mfi_open(mfi_unit, O_RDWR);
|
/freebsd-11.0-release/usr.sbin/mpsutil/ |
H A D | mps_flash.c | 92 fd = open(firmware_file, O_CREAT | O_TRUNC | O_RDWR, 0644);
|
/freebsd-11.0-release/usr.sbin/uathload/ |
H A D | uathload.c | 160 msg = open(msgdev, O_RDWR, 0);
|
/freebsd-11.0-release/usr.sbin/wake/ |
H A D | wake.c | 192 if ((bpf = open(_PATH_BPF, O_RDWR)) == -1)
|
/freebsd-11.0-release/crypto/heimdal/lib/kafs/ |
H A D | afssys.c | 171 fd = open(path, O_RDWR); 213 fd = open(afs_ioctlpath, O_RDWR);
|
/freebsd-11.0-release/crypto/heimdal/lib/krb5/ |
H A D | keytab_keyfile.c | 333 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 D | tc.os.h | 361 #ifndef O_RDWR 362 # define O_RDWR 2 macro 363 #endif /* O_RDWR */
|
/freebsd-11.0-release/lib/libc/db/btree/ |
H A D | bt_open.c | 193 case O_RDWR: 204 if ((flags & O_ACCMODE) != O_RDWR)
|
/freebsd-11.0-release/lib/libc/gen/ |
H A D | sem_new.c | 178 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 D | t_fopen.c | 61 fd = open(path, O_RDWR | O_CREAT); 129 fd = open(path, O_RDWR | O_CREAT);
|
/freebsd-11.0-release/contrib/ntp/libntp/ |
H A D | audio.c | 266 fd = open(dname, O_RDWR | O_NONBLOCK, 0777); 275 ctl_fd = open(actl, O_RDWR);
|
/freebsd-11.0-release/contrib/libreadline/ |
H A D | histfile.c | 433 mode = overwrite ? O_RDWR|O_CREAT|O_TRUNC|O_BINARY : O_RDWR|O_APPEND|O_BINARY;
|
/freebsd-11.0-release/contrib/dma/ |
H A D | spool.c | 127 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 D | mount_fusefs.c | 335 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 D | MdLoad.c | 256 fd = open(argv[1], O_RDWR); 259 fd = open(buf, O_RDWR);
|
/freebsd-11.0-release/tools/tools/net80211/w00t/libw00t/ |
H A D | w00t.c | 98 fd = open(buf, O_RDWR); 251 return open(buf, O_RDWR);
|
/freebsd-11.0-release/usr.sbin/apm/ |
H A D | apm.c | 451 fd = open(APMDEV, O_RDWR); 453 } else if ((fd = open(APMDEV, O_RDWR)) >= 0)
|
/freebsd-11.0-release/usr.sbin/autofs/ |
H A D | automountd.c | 495 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 D | remote-rdp.c | 803 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 D | pcap-dlpi.c | 393 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 D | ipfs.c | 117 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 D | fdisk.c | 614 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);
|