/illumos-gate/usr/src/cmd/luxadm/ |
H A D | setboot.c | 161 if ((fd = open("/dev/openprom", O_RDWR)) < 0) { in setprom()
|
/illumos-gate/usr/src/test/zfs-tests/cmd/file_trunc/ |
H A D | file_trunc.c | 84 fd = open(filename, O_RDWR|O_CREAT|O_TRUNC, 0666); in main()
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmsac.c | 86 Pfd = open(PMPIPE, O_RDWR|O_NONBLOCK); in openpipes()
|
H A D | tmutil.c | 199 if ((fd = open(USERDEV, O_RDWR)) == -1) { in vml()
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | key_generic.c | 112 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) < 0) {
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | fcntl.h | 75 #define O_RDWR 0x0002 /* open for reading and writing */ macro
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_tape.c | 144 O_RDWR | O_NDELAY)) < 0) { in ndmpd_tape_open_v2() 192 mode = (request->mode == NDMP_TAPE_READ_MODE) ? O_RDONLY : O_RDWR; in ndmpd_tape_open_v2() 1229 (devid = open(devname, O_RDWR | O_NDELAY)) < 0) { in common_tape_open() 1257 mode = (ndmpmode == NDMP_TAPE_READ_MODE) ? O_RDONLY : O_RDWR; in common_tape_open()
|
/illumos-gate/usr/src/cmd/power/ |
H A D | powerd.c | 229 pm_fd = open(PM, O_RDWR); in main() 404 fd = open(SRN, O_RDWR|O_EXCL|O_NDELAY); in autos3_monitor() 718 tod_fd = open(TOD, O_RDWR); in check_shutdown() 786 if ((prom_fd = open(PROM, O_RDWR)) == -1 && in is_ok2shutdown()
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | mqueue.c | 402 oflag = oflag & (O_RDONLY|O_WRONLY|O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK); in mq_open() 451 (O_RDWR|O_CREAT|O_EXCL), mode, &err)) < 0) in mq_open() 464 O_RDWR, 0666, &err)) < 0) in mq_open() 502 if ((fd = __pos4obj_open(path, MQ_DSCN_TYPE, O_RDWR | O_CREAT, in mq_open()
|
/illumos-gate/usr/src/cmd/format/ |
H A D | misc.c | 422 O_RDWR | O_NDELAY)) < 0) { in echo_off() 483 O_RDWR | O_NDELAY)) < 0) { in charmode_on()
|
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/ |
H A D | bootparam_ip_route.c | 251 sd = open("/dev/ip", O_RDWR); in get_ip_route() 449 sd = open("/dev/ip", O_RDWR); in find_best_server_int()
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | lockinst.c | 189 if ((fd = open(lockpath, O_RDWR | O_CREAT, 0600)) == -1) { in lockinst()
|
/illumos-gate/usr/src/test/libc-tests/tests/stdio/ |
H A D | fileno.c | 113 fd = open("/dev/null", O_RDWR); in check_fdopen()
|
/illumos-gate/usr/src/test/zfs-tests/cmd/mkbusy/ |
H A D | mkbusy.c | 162 flags = rflag == B_FALSE ? O_CREAT | O_RDWR : O_RDONLY; in main()
|
/illumos-gate/usr/src/test/zfs-tests/cmd/randwritecomp/ |
H A D | randwritecomp.c | 159 fd = open(filename, O_RDWR|O_CREAT, 0666); in main()
|
/illumos-gate/usr/src/test/smbclient-tests/cmd/cp_mmap/ |
H A D | cp_mmap.c | 112 des_fid = open(des_file, O_RDWR | O_CREAT | O_TRUNC, in main()
|
/illumos-gate/usr/src/test/smbclient-tests/cmd/rw_mmap/ |
H A D | rw_mmap.c | 105 fid = open(filename, O_RDWR | O_CREAT | O_TRUNC, in main()
|
/illumos-gate/usr/src/cmd/oplhpd/ |
H A D | oplhpd.c | 167 if ((pid_fd = open(OPLHPD_PID_FILE, O_RDWR | O_CREAT, 0644)) < 0) { in init_daemon()
|
/illumos-gate/usr/src/cmd/zlogin/ |
H A D | zlogin.c | 341 if ((masterfd = open("/dev/ptmx", O_RDWR|O_NONBLOCK)) < 0) { in get_master_pty() 400 if ((slavefd = open(zoneslavename, O_RDWR)) < 0) { in init_slave_pty() 1422 if ((*lockfd = open(pathbuf, O_RDWR|O_CREAT, S_IRUSR|S_IWUSR)) < 0) { in grab_lock_file() 1512 fd = open64(CTFS_ROOT "/process/template", O_RDWR); in init_template() 2223 if ((newslave = open(slavename, O_RDWR)) == -1) { in main()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rlogind.c | 1057 if ((p = open("/dev/ptmx", O_RDWR)) == -1) in doit() 1065 if ((t = open(line, O_RDWR)) == -1) in doit() 1163 if ((tt = open(line, O_RDWR)) == -1) in doit() 1357 if ((ptmfd = open("/dev/logindmux", O_RDWR)) == -1) in protocol() 1360 if ((netfd = open("/dev/logindmux", O_RDWR)) == -1) in protocol()
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | client.c | 530 if ((respfd = open(respfile, O_CREAT |O_RDWR | O_EXCL, 0600)) == -1) { in kmf_get_encoded_ocsp_response() 678 if ((fd = open(crlfile, O_CREAT |O_RDWR | O_EXCL, 0644)) == -1) in kmf_download_crl() 752 if ((fd = open(certfile, O_CREAT |O_RDWR | O_EXCL, 0644)) == -1) in kmf_download_cert()
|
/illumos-gate/usr/src/cmd/sgs/link_audit/common/ |
H A D | dumpbind.c | 161 if ((fd = open(fname, O_RDWR)) == -1) { in main()
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/fksmbcl/ |
H A D | shares.c | 257 fd = smb_fh_open(ctx, path, O_RDWR); in list_shares()
|
/illumos-gate/usr/src/lib/libdhcpagent/common/ |
H A D | dhcpagent_util.c | 92 fd = open64(CTFS_ROOT "/process/template", O_RDWR); in init_template()
|
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/ |
H A D | fcntl_h.cfg | 41 value | O_RDWR | int | fcntl.h | POSIX+ SUS+
|