Searched refs:O_WRONLY (Results 1 - 25 of 40) sorted by relevance

12

/fuchsia/zircon/third_party/ulib/musl/src/fcntl/
H A Dcreat.c4 return open(path, O_CREAT | O_WRONLY | O_TRUNC, mode);
/fuchsia/zircon/third_party/ulib/musl/src/stdio/
H A D__fmodeflags.c11 flags = O_WRONLY;
/fuchsia/zircon/third_party/ulib/jemalloc/test/unit/
H A Dprof_idump.c25 fd = open("/dev/null", O_WRONLY);
H A Dprof_accum.c18 fd = open("/dev/null", O_WRONLY);
H A Dprof_gdump.c16 fd = open("/dev/null", O_WRONLY);
/fuchsia/zircon/system/utest/kernel-unittests/
H A Dkernel-unittests.cpp19 int dmctl_fd = open("/dev/misc/dmctl", O_WRONLY);
/fuchsia/zircon/system/utest/posixio/
H A Dmain.cpp43 O_WRONLY,
/fuchsia/zircon/third_party/lib/acpica/source/include/acpica/platform/
H A Dacmsvc.h70 #define O_WRONLY _O_WRONLY macro
/fuchsia/zircon/third_party/uapp/dash/src/
H A Dredir.c190 if ((f = open(fname, O_WRONLY|O_CREAT|O_EXCL, 0666)) < 0)
193 if ((f = open(fname, O_WRONLY, 0666)) < 0)
209 if ((f = open(fname, O_WRONLY|O_CREAT|O_TRUNC, 0666)) < 0)
214 if ((f = open(fname, O_WRONLY|O_CREAT|O_APPEND, 0666)) < 0)
/fuchsia/zircon/system/uapp/clock/
H A Dclock.c100 int rtc_fd = open_rtc(path, O_WRONLY);
/fuchsia/zircon/system/core/netsvc/
H A Dnetfile.c78 case O_WRONLY: {
88 netfile.fd = open(netfile.filename, O_WRONLY|O_CREAT|O_TRUNC);
H A Dnetboot.c232 int fd = open("/dev/misc/dmctl", O_WRONLY);
387 int fd = open("/dev/misc/dmctl", O_WRONLY);
/fuchsia/zircon/system/utest/fs/
H A Dtest-access.cpp72 fd = open(filename, O_WRONLY, 0644);
120 fd = open(filename, O_WRONLY, 0644);
H A Dtest-append.cpp169 int fd = open("::append-atomic", O_WRONLY | O_CREAT | O_APPEND);
/fuchsia/zircon/system/utest/runtests-utils/
H A Druntests-utils-test-utils.cpp36 const int fd = open(path_.data(), O_CREAT | O_WRONLY, S_IRWXU);
60 fbl::unique_fd output_fd{open(path_.data(), O_CREAT | O_WRONLY, S_IRWXU)};
/fuchsia/zircon/third_party/uapp/dash/src/bltin/
H A Dzircon.c183 if ((fdo = open(dest_name, O_WRONLY | O_CREAT)) < 0) {
186 (fdo = open(dest_name, O_WRONLY | O_CREAT)) < 0) {
464 int fd = open("/dev/misc/dmctl", O_WRONLY);
/fuchsia/zircon/system/ulib/runtests-utils/
H A Dposix-run-test.cpp86 O_WRONLY | O_CREAT | O_TRUNC, 0644))) {
/fuchsia/zircon/third_party/ulib/musl/include/
H A Dfcntl.h42 #define O_WRONLY 01 macro
/fuchsia/zircon/third_party/ulib/musl/src/misc/
H A Dsyslog.c109 fd = open("/dev/console", O_WRONLY | O_NOCTTY | O_CLOEXEC);
/fuchsia/zircon/system/core/pwrbtn-monitor/
H A Dpwrbtn-monitor.cpp235 int fd = open(DMCTL_PATH, O_WRONLY);
/fuchsia/zircon/system/core/virtcon/
H A Dvc-input.cpp103 if ((fd = open("/dev/misc/dmctl", O_WRONLY)) >= 0) {
/fuchsia/zircon/system/host/fvm/
H A Dmain.cpp172 fbl::unique_fd fd(open(path, O_CREAT|O_EXCL|O_WRONLY, 0644));
/fuchsia/zircon/system/uapp/dd/
H A Dmain.c187 out = open(options.output, O_WRONLY | O_CREAT);
/fuchsia/zircon/system/uapp/iotime/
H A Diotime.c195 if ((fd = open(argv[3], is_read ? O_RDONLY : O_WRONLY)) < 0) {
/fuchsia/zircon/system/uapp/lz4/
H A Dmain.c20 #define WR_NEWFILE O_WRONLY | O_CREAT | O_TRUNC

Completed in 201 milliseconds

12