Searched refs:O_WRONLY (Results 76 - 100 of 612) sorted by relevance

1234567891011>>

/netbsd-current/usr.bin/write/
H A Dterm_chk.c77 fd = open(path, O_WRONLY, 0);
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dcopy-file.c65 dest_fd = open (dest_filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0600);
H A Dpipe.c193 || ((stdoutfd = open (prog_stdout, O_WRONLY, 0)) >= 0
319 prog_stdout, O_WRONLY,
390 || ((stdoutfd = open (prog_stdout, O_WRONLY, 0)) >= 0
/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dfifo_trigger.c79 if ((fp = safe_open(service, O_WRONLY | O_NONBLOCK, 0,
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Dsshbuf-io.c106 if ((fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644)) == -1)
/netbsd-current/lib/libc/stdio/
H A Dvdprintf.c86 if (tmp != O_RDWR && tmp != O_WRONLY) {
/netbsd-current/tests/lib/libc/sys/
H A Dt_poll.c274 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY | O_NONBLOCK)) >= 0);
379 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY)) >= 0);
399 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY)) >= 0);
426 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY)) >= 0);
H A Dt_stat.c213 fd[i] = open(path, O_WRONLY | O_CREAT, 0600);
291 fd = open(path, O_WRONLY | O_CREAT, 0600);
380 fd = open(path, O_WRONLY | O_CREAT, 0600);
/netbsd-current/external/bsd/tradcpp/dist/
H A Doutput.c54 outputfd = open(mode.output_file, O_WRONLY|O_CREAT|O_TRUNC,
/netbsd-current/external/bsd/tmux/dist/fuzz/
H A Dinput-fuzzer.c50 wp->fd = open("/dev/null", O_WRONLY);
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/
H A Dchown.c94 && 0 <= (fd = open (file, O_WRONLY | open_flags))))
/netbsd-current/external/bsd/atf/dist/atf-c/
H A Dutils.c153 const int output = open(destination, O_WRONLY | O_CREAT | O_TRUNC, 0777);
192 const int fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644);
364 const int new_fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644);
/netbsd-current/usr.sbin/lpr/lpd/
H A Drecvjob.c93 if ((fd = open(LF, O_WRONLY|O_APPEND, 0664)) < 0) {
95 fd = open(_PATH_DEVNULL, O_WRONLY);
219 fd = open(file, O_CREAT|O_EXCL|O_WRONLY, FILMOD);
/netbsd-current/external/bsd/file/dist/src/
H A Dseccomp.c266 SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY | O_RDWR, 0)) == -1)
270 SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY, O_WRONLY)) == -1)
/netbsd-current/usr.sbin/lpr/lpc/
H A Dcmds.c144 if ((fd = open(line, O_WRONLY|O_CREAT, 0760)) < 0)
194 fd = open(statfile, O_WRONLY|O_CREAT, 0664);
470 if ((fd = open(line, O_WRONLY|O_CREAT, 0670)) < 0)
545 if ((fd = open(line, O_WRONLY|O_CREAT, 0770)) < 0)
559 fd = open(line, O_WRONLY|O_CREAT, 0664);
841 if ((fd = open(line, O_WRONLY|O_CREAT, 0760)) < 0)
/netbsd-current/usr.bin/make/filemon/
H A Dfilemon_ktrace.c820 else if ((flags & O_WRONLY) == O_WRONLY)
850 else if ((flags & O_WRONLY) == O_WRONLY)
860 else if ((flags & O_WRONLY) == O_WRONLY)
/netbsd-current/bin/ksh/
H A Dio.c158 O_WRONLY|O_APPEND|O_CREAT, 0600,
329 || ((mode & W_OK) && fl != O_WRONLY)))
332 *emsgp = (fl == O_WRONLY) ?
/netbsd-current/libexec/mail.local/
H A Dmail.local.c223 if((lfd = open(lpath, O_CREAT|O_WRONLY|O_EXCL,
241 if ((mbfd = open(path, O_APPEND|O_WRONLY|O_EXLOCK|O_NOFOLLOW,
245 (mbfd = open(path, O_APPEND|O_CREAT|O_WRONLY|O_EXLOCK|O_EXCL,
/netbsd-current/external/bsd/kyua-cli/dist/utils/process/
H A Dsystembuf_test.cpp97 int fd = ::open("test_write.txt", O_WRONLY | O_CREAT | O_TRUNC,
/netbsd-current/sys/arch/alpha/stand/mkbootimage/
H A Dmkbootimage.c154 } else if ((outfd = open(outfile, O_WRONLY|O_CREAT, 0666)) == -1)
/netbsd-current/external/ibm-public/postfix/dist/src/local/
H A Dfile.c163 mp = mbox_open(path, O_APPEND | O_CREAT | O_WRONLY,
/netbsd-current/external/ibm-public/postfix/dist/src/bounce/
H A Dbounce_append_service.c82 O_WRONLY | O_APPEND | O_CREAT, 0600);
/netbsd-current/tests/kernel/kqueue/read/
H A Dt_file.c66 fd = open(FILENAME, O_WRONLY|O_APPEND, 0644);
/netbsd-current/usr.sbin/rpcbind/
H A Dwarmstart.c81 fd = open(filename, O_WRONLY|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR);
/netbsd-current/external/gpl2/dtc/dist/tests/
H A Dfs_tree1.c52 fd = open(name, O_WRONLY|O_CREAT, 0666);

Completed in 476 milliseconds

1234567891011>>