Home
last modified time | relevance | path

Searched refs:O_WRONLY (Results 26 – 50 of 326) sorted by relevance

12345678910>>...14

/illumos-gate/usr/src/cmd/audio/include/
H A DAudioTypes.h110 case WriteOnly: return (O_WRONLY);
112 case AppendOnly: return (O_WRONLY | O_APPEND);
/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/
H A Dmain.c67 if ((pfd = open(procname, O_WRONLY)) < 0) { in init_proc()
205 if ((pctlfd = open(procname, O_WRONLY)) < 0) { in main()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_fs.c162 (void) open("/dev/null", O_WRONLY, mode); in has_fs()
163 (void) open("/dev/null", O_WRONLY, mode); in has_fs()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dsymlink.c48 …if ((fd = open(b, O_CREAT|O_TRUNC|O_WRONLY|O_cloexec, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IW…
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtruncate.c83 if ((fd = open(path, O_WRONLY)) == -1 || ftruncate(fd, len) == -1) in truncate()
/illumos-gate/usr/src/uts/intel/sys/acpi/platform/
H A Dacwin64.h178 #define O_WRONLY _O_WRONLY macro
/illumos-gate/usr/src/test/os-tests/tests/syscall/
H A Dopen.c67 fd = open(path, O_WRONLY | O_CREAT | O_EXCL | O_DIRECT, 0644); in o_direct_test()
H A Dfchmodat.c57 int fd = open(file, O_WRONLY | O_CREAT, 0644); in main()
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_oflags.c44 if (!(oflags & (O_RDWR | O_WRONLY)) || oflags & O_RDONLY)
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dfds.c234 switch (flags & (O_RDONLY|O_WRONLY|O_RDWR)) in b_fds()
239 case O_WRONLY: in b_fds()
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Drandom.c164 RANDOM_DEVICE, O_WRONLY)); in pkcs11_open_random_seed()
171 URANDOM_DEVICE, O_WRONLY)); in pkcs11_open_urandom_seed()
/illumos-gate/usr/src/lib/libc/port/stdio/
H A D_endopen.c93 if (oflag == (O_WRONLY | O_APPEND | O_CREAT)) { /* type == "a" */ in _endopen()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dsystrace.c59 ov[0] = PROC_FD_DUP(open("/dev/null", O_WRONLY), 2, PROC_FD_PARENT|PROC_FD_CHILD); in systrace()
/illumos-gate/usr/src/cmd/ctrun/
H A Dctrun.c282 O_WRONLY); in get_event()
556 O_WRONLY)) == -1) in main()
640 O_WRONLY)) == -1) in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtvtouch.c150 if ((fd = open(path, O_WRONLY|O_CREAT|O_TRUNC|O_cloexec, mode)) < 0) in tvtouch()
274 if ((fd = open(path, O_WRONLY|O_CREAT|O_TRUNC|O_cloexec, mode)) < 0) in tvtouch()
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dcopyf.c112 dstFd = open(a_dstPath, O_WRONLY | O_TRUNC | O_CREAT, in copyf()
132 dstFd = open(a_dstPath, O_WRONLY | O_TRUNC | O_CREAT, in copyf()
/illumos-gate/usr/src/lib/krb5/ss/
H A Dpager.c66 fd = open("/dev/tty", O_WRONLY, 0); in ss_pager_create()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.c78 fds[n++] = open(file, O_WRONLY); in main()
/illumos-gate/usr/src/lib/libmail/common/
H A Dnotifyu.c80 if ((fd = open(dev, O_WRONLY|O_NOCTTY)) == -1) { in notify()
/illumos-gate/usr/src/cmd/nohup/
H A Dnohup.c80 int flags = O_CREAT | O_WRONLY | O_APPEND; in open_file()
622 nh_fd = open(nout, O_WRONLY | O_CREAT, NOHUP_PERM); in pnohup()
628 nh_fd = open(nout, O_WRONLY | O_CREAT, NOHUP_PERM); in pnohup()
/illumos-gate/usr/src/test/os-tests/tests/ksensor/
H A Dksensor_err.c91 int flags[] = { O_RDWR, O_WRONLY, O_RDONLY | O_NDELAY, in main()
/illumos-gate/usr/src/cmd/audio/audioplay/
H A Daudioplay.c202 Audio_fd = open(Audio_dev, O_WRONLY | O_NONBLOCK); in open_audio()
215 Audio_fd = open(Audio_dev, O_WRONLY); in open_audio()
347 Audio_fd = open(Audio_dev, O_WRONLY | O_NONBLOCK); in main()
367 Audio_fd = open(Audio_dev, O_WRONLY); in main()
/illumos-gate/usr/src/tools/btxld/
H A Dversion.c117 fd = open(ofile, O_CREAT | O_WRONLY | O_TRUNC, 0644); in add_version()
/illumos-gate/usr/src/cmd/dumpadm/
H A Dminfree.c80 FILE *fp = minfree_open(dir, O_WRONLY | O_CREAT | O_TRUNC, "w"); in minfree_write()
/illumos-gate/usr/src/cmd/passmgmt/
H A Dpassmgmt.c658 fd_ptemp = open(PASSTEMP, O_CREAT|O_EXCL|O_WRONLY, statbuf.st_mode); in main()
666 fd_ptemp = open(PASSTEMP, O_CREAT|O_EXCL|O_WRONLY, in main()
696 fd_stemp = open(SHADTEMP, O_CREAT|O_EXCL|O_WRONLY, in main()
706 O_CREAT|O_EXCL|O_WRONLY, statbuf.st_mode); in main()
736 fd_uatemp = open(USERATTR_TEMP, O_CREAT|O_EXCL|O_WRONLY, in main()
746 O_CREAT|O_EXCL|O_WRONLY, statbuf.st_mode); in main()

12345678910>>...14