Searched refs:O_WRONLY (Results 51 - 75 of 384) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/tests/lib/libc/gen/posix_spawn/
H A Dt_fileactions.c110 CHECKFILE, O_WRONLY|O_CREAT, 0600);
136 CHECKFILE, O_WRONLY|O_APPEND, 0);
162 CHECKFILE, O_WRONLY, 0);
310 fd2 = open("/dev/null", O_WRONLY, O_CLOEXEC);
313 fd3 = open("/dev/null", O_WRONLY);
/netbsd-6-1-5-RELEASE/external/bsd/fetch/dist/libfetch/
H A Dfile.c156 fd = open(path, O_WRONLY | O_APPEND);
158 fd = open(path, O_WRONLY);
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/local/
H A Dmaildir.c189 if ((dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0
192 || (dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0)) {
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/virtual/
H A Dmaildir.c183 if ((dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0
186 || (dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0)) {
/netbsd-6-1-5-RELEASE/dist/nvi/ex/
H A Dex_mkexrc.c68 if ((fd = open(fname, O_CREAT | O_TRUNC | O_WRONLY,
/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/arch/shark/
H A Dmd.c215 fd = opendisk(disk, O_WRONLY, diskpath, diskpathlen, 0);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libssp/
H A Dssp.c108 fd = open (_PATH_TTY, O_WRONLY);
/netbsd-6-1-5-RELEASE/sys/compat/ibcs2/
H A Dibcs2_fcntl.c66 if (flags & IBCS2_O_WRONLY) r |= O_WRONLY;
125 if (flags & IBCS2_O_WRONLY) r |= O_WRONLY;
145 if (flags & O_WRONLY) r |= IBCS2_O_WRONLY;
200 SCARG(&cup, flags) = O_WRONLY | O_CREAT | O_TRUNC;
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/lib/
H A Dcopy-file.c70 dest_fd = open (dest_filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0600);
H A Dpipe.c198 || ((stdoutfd = open (prog_stdout, O_WRONLY, 0)) >= 0
324 prog_stdout, O_WRONLY,
395 || ((stdoutfd = open (prog_stdout, O_WRONLY, 0)) >= 0
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/
H A Dfifo_trigger.c79 if ((fp = safe_open(service, O_WRONLY | O_NONBLOCK, 0,
/netbsd-6-1-5-RELEASE/usr.bin/tip/aculib/
H A Ddn11.c59 if ((dn = open(acu, O_WRONLY)) < 0) {
/netbsd-6-1-5-RELEASE/usr.bin/write/
H A Dterm_chk.c77 fd = open(path, O_WRONLY, 0);
/netbsd-6-1-5-RELEASE/libexec/mail.local/
H A Dmail.local.c206 if((lfd = open(lpath, O_CREAT|O_WRONLY|O_EXCL,
219 if ((mbfd = open(path, O_APPEND|O_WRONLY|O_EXLOCK,
221 if ((mbfd = open(path, O_APPEND|O_CREAT|O_WRONLY|O_EXLOCK,
/netbsd-6-1-5-RELEASE/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-6-1-5-RELEASE/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);
473 if ((fd = open(line, O_WRONLY|O_CREAT, 0670)) < 0)
548 if ((fd = open(line, O_WRONLY|O_CREAT, 0770)) < 0)
562 fd = open(line, O_WRONLY|O_CREAT, 0664);
844 if ((fd = open(line, O_WRONLY|O_CREAT, 0760)) < 0)
/netbsd-6-1-5-RELEASE/bin/cp/
H A Dutils.c143 to_fd = open(to.p_path, O_WRONLY | O_TRUNC, 0);
145 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
154 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
/netbsd-6-1-5-RELEASE/bin/ksh/
H A Dio.c197 O_WRONLY|O_APPEND|O_CREAT, 0600,
393 || ((mode & W_OK) && fl != O_WRONLY)))
396 *emsgp = (fl == O_WRONLY) ?
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/readline/
H A Dhistfile.c398 if (bp > buffer && ((file = open (filename, O_WRONLY|O_TRUNC|O_BINARY, 0600)) != -1))
434 mode = overwrite ? O_WRONLY|O_CREAT|O_TRUNC|O_BINARY : O_WRONLY|O_APPEND|O_BINARY;
/netbsd-6-1-5-RELEASE/tests/lib/libc/sys/
H A Dt_stat.c209 fd[i] = open(path, O_WRONLY | O_CREAT);
287 fd = open(path, O_WRONLY | O_CREAT);
332 fd = open(path, O_WRONLY | O_CREAT);
/netbsd-6-1-5-RELEASE/distrib/cdrom/macppc_mkboothfs/
H A Dmkboothfs.c71 if ((ofd = open(boothfs, O_CREAT | O_TRUNC | O_WRONLY, 0644)) == -1)
/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/
H A Dwskbd.c98 fd = open("/dev/wskbd0", O_WRONLY);
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/libarchive/
H A Darchive_write_open_filename.c96 flags = O_WRONLY | O_CREAT | O_TRUNC | O_BINARY;
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/liblber/
H A Detest.c88 if (( fd = open( "lber-test", O_WRONLY|O_CREAT|O_TRUNC|O_BINARY ))
/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/
H A Dcmd-pipe-pane.c105 null_fd = open(_PATH_DEVNULL, O_WRONLY, 0);

Completed in 235 milliseconds

1234567891011>>