/illumos-gate/usr/src/cmd/audio/include/ |
H A D | AudioTypes.h | 110 case WriteOnly: return (O_WRONLY); 112 case AppendOnly: return (O_WRONLY | O_APPEND);
|
/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/ |
H A D | main.c | 67 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 D | inuse_fs.c | 162 (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 D | symlink.c | 48 …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 D | truncate.c | 83 if ((fd = open(path, O_WRONLY)) == -1 || ftruncate(fd, len) == -1) in truncate()
|
/illumos-gate/usr/src/uts/intel/sys/acpi/platform/ |
H A D | acwin64.h | 178 #define O_WRONLY _O_WRONLY macro
|
/illumos-gate/usr/src/test/os-tests/tests/syscall/ |
H A D | open.c | 67 fd = open(path, O_WRONLY | O_CREAT | O_EXCL | O_DIRECT, 0644); in o_direct_test()
|
H A D | fchmodat.c | 57 int fd = open(file, O_WRONLY | O_CREAT, 0644); in main()
|
/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_oflags.c | 44 if (!(oflags & (O_RDWR | O_WRONLY)) || oflags & O_RDONLY)
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | fds.c | 234 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 D | random.c | 164 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.c | 93 if (oflag == (O_WRONLY | O_APPEND | O_CREAT)) { /* type == "a" */ in _endopen()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | systrace.c | 59 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 D | ctrun.c | 282 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 D | tvtouch.c | 150 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 D | copyf.c | 112 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 D | pager.c | 66 fd = open("/dev/tty", O_WRONLY, 0); in ss_pager_create()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/io/ |
H A D | tst.fds.c | 78 fds[n++] = open(file, O_WRONLY); in main()
|
/illumos-gate/usr/src/lib/libmail/common/ |
H A D | notifyu.c | 80 if ((fd = open(dev, O_WRONLY|O_NOCTTY)) == -1) { in notify()
|
/illumos-gate/usr/src/cmd/nohup/ |
H A D | nohup.c | 80 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 D | ksensor_err.c | 91 int flags[] = { O_RDWR, O_WRONLY, O_RDONLY | O_NDELAY, in main()
|
/illumos-gate/usr/src/cmd/audio/audioplay/ |
H A D | audioplay.c | 202 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 D | version.c | 117 fd = open(ofile, O_CREAT | O_WRONLY | O_TRUNC, 0644); in add_version()
|
/illumos-gate/usr/src/cmd/dumpadm/ |
H A D | minfree.c | 80 FILE *fp = minfree_open(dir, O_WRONLY | O_CREAT | O_TRUNC, "w"); in minfree_write()
|
/illumos-gate/usr/src/cmd/passmgmt/ |
H A D | passmgmt.c | 658 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()
|