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

1234567891011>>

/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dfifo_rdonly_bug.c93 if ((fd2 = open(FIFO_PATH, O_WRONLY, 0)) < 0)
94 perrorcleanup("open fifo O_WRONLY");
H A Dlogwriter.c87 fp = safe_open(path, O_CREAT | O_WRONLY | O_APPEND, 0644,
/netbsd-current/lib/libutil/
H A Dlogwtmp.c64 if ((fd = open(_PATH_WTMP, O_WRONLY|O_APPEND, 0)) < 0)
/netbsd-current/tests/fs/vfs/
H A Dt_mtime_write.c54 int f = rump_sys_open(LOCKFILE, O_WRONLY|O_CREAT, 0666);
/netbsd-current/external/bsd/jemalloc/dist/test/unit/
H A Dprof_accum.c12 fd = open("/dev/null", O_WRONLY);
H A Dprof_gdump.c11 fd = open("/dev/null", O_WRONLY);
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Ddumpdata.c49 fd = open(filename, O_WRONLY|O_TRUNC|O_CREAT, 0640);
/netbsd-current/external/gpl2/xcvs/dist/lib/
H A Dsave-cwd.c87 cwd->desc = fd_safer (open (".", O_WRONLY));
/netbsd-current/external/gpl2/dtc/dist/tests/
H A Ddumptrees.c48 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0666);
/netbsd-current/tests/lib/libc/kevent_nullmnt/
H A Dh_nullmnt.c47 write_file = open(argv[2], O_WRONLY, O_APPEND);
/netbsd-current/external/gpl3/binutils/dist/bfd/hosts/
H A Dalphavms.h49 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
/netbsd-current/external/gpl3/gdb.old/dist/bfd/hosts/
H A Dalphavms.h49 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
/netbsd-current/external/gpl3/gdb/dist/bfd/hosts/
H A Dalphavms.h49 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
/netbsd-current/external/gpl3/binutils.old/dist/bfd/hosts/
H A Dalphavms.h49 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
/netbsd-current/tests/dev/audio/
H A Daudiotest.c960 "O_WRONLY",
1268 return O_WRONLY;
1275 AUMODE_PLAY | AUMODE_PLAY_ALL, /* O_WRONLY */
1292 /* half-duplex treats O_RDWR as O_WRONLY */
1331 fd = OPEN(devaudio, O_WRONLY);
1441 DEF(open_mode_WRONLY) { test_open_mode(O_WRONLY); }
1672 DEF(open_audio_WRONLY) { test_open("audio", O_WRONLY); }
1675 DEF(open_sound_WRONLY) { test_open("sound", O_WRONLY); }
1678 DEF(open_audioctl_WRONLY) { test_open("audioctl", O_WRONLY); }
1896 DEF(open_simul_RDONLY_WRONLY) { test_open_simul(O_RDONLY, O_WRONLY); }
[all...]
/netbsd-current/tests/lib/libc/gen/posix_spawn/
H A Dt_fileactions.c96 CHECKFILE, O_WRONLY|O_CREAT, 0600);
122 CHECKFILE, O_WRONLY|O_APPEND, 0);
148 CHECKFILE, O_WRONLY, 0);
296 fd2 = open("/dev/null", O_WRONLY, O_CLOEXEC);
299 fd3 = open("/dev/null", O_WRONLY);
/netbsd-current/external/bsd/libfido2/dist/examples/
H A Dutil.c57 if ((fd = open(path, O_WRONLY | O_CREAT, 0600)) < 0) {
181 if ((fd = open(path, O_WRONLY | O_CREAT, 0644)) < 0) {
238 if ((fd = open(path, O_WRONLY | O_CREAT, 0644)) < 0) {
327 if ((fd = open(path, O_WRONLY | O_CREAT, 0644)) < 0) {
408 if ((fd = open(path, O_WRONLY | O_CREAT, 0644)) < 0) {
/netbsd-current/external/bsd/fetch/dist/libfetch/
H A Dfile.c156 fd = open(path, O_WRONLY | O_APPEND);
158 fd = open(path, O_WRONLY);
/netbsd-current/external/ibm-public/postfix/dist/src/local/
H A Dmaildir.c190 if ((dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0
193 || (dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0)) {
/netbsd-current/external/ibm-public/postfix/dist/src/virtual/
H A Dmaildir.c184 if ((dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0
187 || (dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0)) {
/netbsd-current/external/bsd/unbound/dist/libunbound/python/
H A Dfile_py3.i50 } else if (fdfl & O_WRONLY) {
/netbsd-current/tests/fs/union/
H A Dt_pr.c189 fd = rump_sys_open("/mp/null", O_WRONLY | O_CREAT | O_TRUNC, 0600);
223 fd = rump_sys_open("/mp/null", O_WRONLY | O_CREAT | O_APPEND, 0600);
/netbsd-current/external/ibm-public/postfix/dist/src/global/
H A Dhfrom_format.c216 if ((memory_stream = vstream_memopen(msg_buf, O_WRONLY)) == 0)
250 if ((memory_stream = vstream_memopen(msg_buf, O_WRONLY)) == 0)
/netbsd-current/external/bsd/nvi/dist/ex/
H A Dex_mkexrc.c72 if ((fd = open(fname, O_CREAT | O_TRUNC | O_WRONLY,
/netbsd-current/usr.bin/tip/aculib/
H A Ddn11.c59 if ((dn = open(acu, O_WRONLY)) < 0) {

Completed in 340 milliseconds

1234567891011>>