/freebsd/tools/regression/poll/ |
H A D | pipepoll.c | 226 fd = open(FIFONAME, O_WRONLY | O_NONBLOCK); in parent() 251 fd = open(FIFONAME, O_WRONLY | O_NONBLOCK); in parent()
|
H A D | pipeselect.c | 223 fd = open(FIFONAME, O_WRONLY | O_NONBLOCK); in parent() 248 fd = open(FIFONAME, O_WRONLY | O_NONBLOCK); in parent()
|
/freebsd/lib/libc/gmon/ |
H A D | gmon.c | 154 fd = _open(outname, O_CREAT|O_TRUNC|O_WRONLY|O_CLOEXEC, 0666); in _mcleanup() 160 log = _open("gmon.log", O_CREAT|O_TRUNC|O_WRONLY|O_CLOEXEC, 0664); in _mcleanup()
|
/freebsd/contrib/pjdfstest/tests/chmod/ |
H A D | 12.t | 22 expect 0777 -u 65534 -g 65534 open ${n0} O_WRONLY : write 0 x : fstat 0 mode
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | cp_files.c | 43 int fd = openat(tfd, dirent->d_name, O_CREAT|O_WRONLY, 0666); in main()
|
/freebsd/contrib/sendmail/test/ |
H A D | t_exclopen.c | 90 if (open(Attacker, O_WRONLY|O_CREAT|O_EXCL, 0644) < 0)
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | dumpdata.c | 47 fd = open(filename, O_WRONLY|O_TRUNC|O_CREAT, 0640); in rk_dumpdata()
|
/freebsd/tools/test/stress2/misc/ |
H A D | truncate.sh | 66 if ((fd[j] = open(name, O_WRONLY | O_CREAT | O_APPEND, 0666)) == -1)
|
H A D | truncate2.sh | 68 fd[j] = open(name, O_WRONLY | O_CREAT | O_APPEND, 0666);
|
H A D | statfs.sh | 105 if ((fd = open(file, O_CREAT | O_TRUNC | O_WRONLY, 0666)) == -1) {
|
H A D | alternativeFlushPath.sh | 103 if ((fd[i] = open(name, O_CREAT|O_WRONLY, 0666)) == -1) {
|
H A D | fpclone2.sh | 109 if ((fd = open("/dev/fpclone", O_WRONLY)) == -1)
|
H A D | mkfifo3.sh | 123 if ((fd = open(file, O_WRONLY)) == -1)
|
H A D | truncate5.sh | 86 fd = open(name, O_WRONLY | O_CREAT, 0666);
|
H A D | truncate3.sh | 87 fd[j] = open(name, O_WRONLY | O_CREAT | O_APPEND, 0666);
|
/freebsd/cddl/lib/libdtrace/ |
H A D | io.d | 91 inline int O_WRONLY = 0x0001; variable 92 #pragma D binding "1.1" O_WRONLY
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/ |
H A D | tst.fds.c | 81 fds[n++] = open(file, O_WRONLY); in main()
|
/freebsd/lib/libc/tests/gen/ |
H A D | dlopen_empty_test.c | 67 fd = open(soname, O_WRONLY | O_CREAT | O_TRUNC, DEFFILEMODE); in ATF_TC_BODY()
|
/freebsd/contrib/llvm-project/lldb/source/Host/common/ |
H A D | FileAction.cpp | 44 m_arg = O_NOCTTY | O_CREAT | O_WRONLY; in Open()
|
/freebsd/tests/sys/file/ |
H A D | fcntlflags_test.c | 104 subtests("/dev/null", O_WRONLY, "O_WRONLY"); in main()
|
/freebsd/contrib/capsicum-test/ |
H A D | capability-fd.cc | 372 int file = openat(dir, filename, O_WRONLY|O_CREAT, 0644); 387 file = openat(cap_dir, filename, O_WRONLY|O_APPEND); 692 rc = openat(dfd_cap, "cap_create", O_CREAT | O_WRONLY | O_APPEND, 0600); in TryDirOps() 720 rc = openat(dfd_cap, "cap_fsync", O_FSYNC | O_WRONLY | O_APPEND); in TryDirOps() 735 rc = openat(dfd_cap, "cap_fsync", O_SYNC | O_WRONLY | O_APPEND); in TryDirOps() 755 rc = openat(dfd_cap, "cap_ftruncate", O_TRUNC | O_WRONLY); in TryDirOps() 767 rc = openat(dfd_cap, "cap_create", O_CREAT | O_WRONLY, 0600); in TryDirOps() 783 rc = openat(dfd_cap, "cap_fsync", O_FSYNC | O_WRONLY); in TryDirOps() 795 rc = openat(dfd_cap, "cap_fsync", O_SYNC | O_WRONLY); in TryDirOps()
|
/freebsd/contrib/nvi/ex/ |
H A D | ex_mkexrc.c | 64 if ((fd = open(fname, O_CREAT | O_TRUNC | O_WRONLY, in ex_mkexrc()
|
/freebsd/sys/fs/fuse/ |
H A D | fuse_file.h | 79 FUFH_WRONLY = O_WRONLY,
|
/freebsd/usr.sbin/pw/ |
H A D | pw_log.c | 55 fd = open(cnf->logfile, O_WRONLY | O_CREAT | O_APPEND, 0600); in pw_log()
|
/freebsd/contrib/tcsh/ |
H A D | tc.os.h | 357 #ifndef O_WRONLY 358 # define O_WRONLY 1 macro
|