Home
last modified time | relevance | path

Searched refs:O_WRONLY (Results 76 – 100 of 399) sorted by relevance

12345678910>>...16

/freebsd/tools/regression/poll/
H A Dpipepoll.c226 fd = open(FIFONAME, O_WRONLY | O_NONBLOCK); in parent()
251 fd = open(FIFONAME, O_WRONLY | O_NONBLOCK); in parent()
H A Dpipeselect.c223 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 Dgmon.c154 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 D12.t22 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 Dcp_files.c43 int fd = openat(tfd, dirent->d_name, O_CREAT|O_WRONLY, 0666); in main()
/freebsd/contrib/sendmail/test/
H A Dt_exclopen.c90 if (open(Attacker, O_WRONLY|O_CREAT|O_EXCL, 0644) < 0)
/freebsd/crypto/heimdal/lib/roken/
H A Ddumpdata.c47 fd = open(filename, O_WRONLY|O_TRUNC|O_CREAT, 0640); in rk_dumpdata()
/freebsd/tools/test/stress2/misc/
H A Dtruncate.sh66 if ((fd[j] = open(name, O_WRONLY | O_CREAT | O_APPEND, 0666)) == -1)
H A Dtruncate2.sh68 fd[j] = open(name, O_WRONLY | O_CREAT | O_APPEND, 0666);
H A Dstatfs.sh105 if ((fd = open(file, O_CREAT | O_TRUNC | O_WRONLY, 0666)) == -1) {
H A DalternativeFlushPath.sh103 if ((fd[i] = open(name, O_CREAT|O_WRONLY, 0666)) == -1) {
H A Dfpclone2.sh109 if ((fd = open("/dev/fpclone", O_WRONLY)) == -1)
H A Dmkfifo3.sh123 if ((fd = open(file, O_WRONLY)) == -1)
H A Dtruncate5.sh86 fd = open(name, O_WRONLY | O_CREAT, 0666);
H A Dtruncate3.sh87 fd[j] = open(name, O_WRONLY | O_CREAT | O_APPEND, 0666);
/freebsd/cddl/lib/libdtrace/
H A Dio.d91 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 Dtst.fds.c81 fds[n++] = open(file, O_WRONLY); in main()
/freebsd/lib/libc/tests/gen/
H A Ddlopen_empty_test.c67 fd = open(soname, O_WRONLY | O_CREAT | O_TRUNC, DEFFILEMODE); in ATF_TC_BODY()
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DFileAction.cpp44 m_arg = O_NOCTTY | O_CREAT | O_WRONLY; in Open()
/freebsd/tests/sys/file/
H A Dfcntlflags_test.c104 subtests("/dev/null", O_WRONLY, "O_WRONLY"); in main()
/freebsd/contrib/capsicum-test/
H A Dcapability-fd.cc372 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 Dex_mkexrc.c64 if ((fd = open(fname, O_CREAT | O_TRUNC | O_WRONLY, in ex_mkexrc()
/freebsd/sys/fs/fuse/
H A Dfuse_file.h79 FUFH_WRONLY = O_WRONLY,
/freebsd/usr.sbin/pw/
H A Dpw_log.c55 fd = open(cnf->logfile, O_WRONLY | O_CREAT | O_APPEND, 0600); in pw_log()
/freebsd/contrib/tcsh/
H A Dtc.os.h357 #ifndef O_WRONLY
358 # define O_WRONLY 1 macro

12345678910>>...16