Home
last modified time | relevance | path

Searched refs:O_RDWR (Results 51 – 75 of 647) sorted by relevance

12345678910>>...26

/illumos-gate/usr/src/lib/print/libprint/common/
H A Dnss_write.c111 fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644); in _file_put_printer()
113 fd = open(file, O_RDWR); in _file_put_printer()
/illumos-gate/usr/src/test/smbclient-tests/cmd/prot_mmap/
H A Dprot_mmap.c79 flags0 = O_RDWR; in main()
89 flags1 = O_RDWR; in main()
/illumos-gate/usr/src/test/bhyve-tests/tests/vmm/
H A Dcheck_iommu.c30 int ctl_fd = open(VMM_CTL_DEV, O_EXCL | O_RDWR); in main()
H A Dinterface_version.c34 int ctl_fd = open(VMM_CTL_DEV, O_EXCL | O_RDWR); in main()
/illumos-gate/usr/src/test/os-tests/tests/uccid/
H A Dnotxn-poll.c44 if ((fd = open(argv[1], O_RDWR)) < 0) { in main()
H A Dpollin.c43 if ((fd = open(argv[1], O_RDWR)) < 0) { in main()
H A Dexcl-basic.c43 if ((fd = open(argv[1], O_RDWR)) < 0) { in main()
H A Dexcl-reset.c43 if ((fd = open(argv[1], O_RDWR)) < 0) { in main()
H A Dpollout.c43 if ((fd = open(argv[1], O_RDWR)) < 0) { in main()
/illumos-gate/usr/src/test/bhyve-tests/tests/viona/
H A Dinterface_version.c31 int ctl_fd = open(VIONA_DEV, O_EXCL | O_RDWR); in main()
/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_open.c56 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600); in uu_open_tmp()
/illumos-gate/usr/src/cmd/script/
H A Dscript.c265 if ((manager = open(mptname, O_RDWR)) >= 0) { /* a pseudo-tty is free */ in getmanager()
284 subsid = open(subsidname, O_RDWR); /* open subsidiary */ in getsubsid()
/illumos-gate/usr/src/cmd/tip/aculib/
H A Dv831.c38 if ((AC = open(acu, O_RDWR)) < 0) { in v831_dialer()
66 if ((FD = open(DV, O_RDWR)) < 0) { in v831_dialer()
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dscratchops.c92 flags = O_RDWR | O_NOFOLLOW | O_NOLINKS; in zonecfg_open_scratch()
107 fd = open(mapfile, O_RDWR); in zonecfg_open_scratch()
/illumos-gate/usr/src/cmd/autopush/
H A Dautopush.c257 if ((sadfd = open(ADMINDEV, O_RDWR)) < 0) { in set_info()
351 if ((sadfd = open(ADMINDEV, O_RDWR)) < 0) { in rem_info()
415 if ((sadfd = open(USERDEV, O_RDWR)) < 0) { in get_info()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf_open.c61 if ((fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, 0644)) < 0) in mdb_ctf_write()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dkrbfileio.c22 open_flag = O_CREAT|O_EXCL|O_TRUNC|O_RDWR; in krb5_create_secure_file()
/illumos-gate/usr/src/test/os-tests/tests/signalfd/
H A Dmultipoll.c37 int pfd = open("/dev/poll", O_RDWR); in main()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Ddaemon.c78 if ((fd = open("/dev/null", O_RDWR)) == -1) in daemon()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Dio.d.in143 * flags behave as a bit-field *except* for O_RDONLY, O_WRONLY, and O_RDWR.
154 inline int O_RDWR = @O_RDWR@; variable
155 #pragma D binding "1.1" O_RDWR
H A Ddlink_init.c74 if ((fd = open64(devname, O_RDWR)) < 0) { in dtrace_drti_fini()
/illumos-gate/usr/src/cmd/audio/include/
H A DAudioTypes.h111 case ReadWrite: return (O_RDWR);
113 case ReadAppend: return (O_RDWR | O_APPEND);
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dfsck.c123 tryOpen(inFD, name, O_RDWR, RETURN_ON_OPEN_FAILURE); in doOpen()
147 tryOpen(outFD, outName, (O_RDWR | O_CREAT), in doOpen()
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_main.c139 daemon_lock_fd = open(daemon_lock_file, O_CREAT|O_RDWR, 0644); in enter_daemon_lock()
283 (void) open("/dev/null", O_RDWR, 0); in detachfromtty()
/illumos-gate/usr/src/test/zfs-tests/cmd/mmapwrite/
H A Dmmapwrite.c77 if ((fd = open(argv[1], O_RDWR|O_CREAT|O_TRUNC, 0666)) == -1) { in main()

12345678910>>...26