Searched refs:O_WRONLY (Results 126 - 150 of 384) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/external/bsd/less/dist/
H A Ddefines.ds381 #define O_WRONLY _O_WRONLY
H A Dless.h248 #if defined(O_WRONLY) && defined(O_APPEND)
249 #define OPEN_APPEND (O_APPEND|O_WRONLY)
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/
H A Ddict_cdb.c25 /* Flags passed to open(). Specify O_RDONLY or O_WRONLY|O_CREAT|O_TRUNC.
400 switch (open_flags & (O_RDONLY | O_RDWR | O_WRONLY | O_CREAT | O_TRUNC)) {
403 case O_WRONLY | O_CREAT | O_TRUNC: /* create mode */
408 " - specify O_RDONLY or O_WRONLY|O_CREAT|O_TRUNC");
/netbsd-6-1-5-RELEASE/usr.sbin/memswitch/
H A Dmemswitch.c408 sramfd = open(PATH_RAMFILE, O_WRONLY);
433 fd = open(name, O_WRONLY|O_CREAT|O_TRUNC, 0666);
/netbsd-6-1-5-RELEASE/usr.bin/audio/play/
H A Dplay.c173 audiofd = open(device, O_WRONLY);
176 audiofd = open(device, O_WRONLY);
/netbsd-6-1-5-RELEASE/usr.sbin/lpr/lpd/
H A Dprintjob.c158 if ((fd = open(LF, O_WRONLY|O_APPEND, 0664)) < 0) {
160 fd = open(_PATH_DEVNULL, O_WRONLY);
185 lfd = open(LO, O_WRONLY|O_CREAT, 0644);
733 n = open(tempfile, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, 0664);
897 pfd = open(tempremote, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, 0664);
1442 pfd = open(LP, RW ? O_RDWR : O_WRONLY);
1628 fd = open(ST, O_WRONLY|O_CREAT, 0664);
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/atf-c/detail/
H A Dprocess_test.c194 s->m_fd = open("stdout", O_WRONLY | O_CREAT | O_TRUNC, 0644);
198 s->m_fd = open("stderr", O_WRONLY | O_CREAT | O_TRUNC, 0644);
262 ATF_REQUIRE_EQ(open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644),
323 s->m_fd = open("stdout", O_WRONLY | O_CREAT | O_TRUNC, 0644);
326 s->m_fd = open("stderr", O_WRONLY | O_CREAT | O_TRUNC, 0644);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/atf-c/detail/
H A Dprocess_test.c196 s->m_fd = open("stdout", O_WRONLY | O_CREAT | O_TRUNC, 0644);
200 s->m_fd = open("stderr", O_WRONLY | O_CREAT | O_TRUNC, 0644);
264 ATF_REQUIRE_EQ(open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644),
325 s->m_fd = open("stdout", O_WRONLY | O_CREAT | O_TRUNC, 0644);
328 s->m_fd = open("stderr", O_WRONLY | O_CREAT | O_TRUNC, 0644);
/netbsd-6-1-5-RELEASE/bin/csh/
H A Dsem.c580 (fd = open(tmp, O_WRONLY | O_APPEND)) >= 0);
582 (fd = open(tmp, O_WRONLY)) >= 0)
593 if ((fd = open(tmp, O_WRONLY | O_CREAT | O_TRUNC, 0666)) < 0) {
/netbsd-6-1-5-RELEASE/dist/ipf/
H A Dip_fil.c319 fd = open(fname, O_WRONLY|O_APPEND);
507 fd = open(fname, O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600);
518 fd = open(fname, O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600);
/netbsd-6-1-5-RELEASE/sys/compat/linux/common/
H A Dlinux_file.c94 res |= cvtto_bsd_mask(lflags, LINUX_O_WRONLY, O_WRONLY);
116 res |= cvtto_linux_mask(bflags, O_WRONLY, LINUX_O_WRONLY);
152 SCARG(&oa, flags) = O_CREAT | O_TRUNC | O_WRONLY;
/netbsd-6-1-5-RELEASE/sys/compat/svr4/
H A Dsvr4_fcntl.c74 r |= (l & SVR4_O_WRONLY) ? O_WRONLY : 0;
96 r |= (l & O_WRONLY) ? SVR4_O_WRONLY : 0;
356 SCARG(&cup, flags) = O_WRONLY | O_CREAT | O_TRUNC;
/netbsd-6-1-5-RELEASE/sys/compat/svr4_32/
H A Dsvr4_32_fcntl.c74 r |= (l & SVR4_O_WRONLY) ? O_WRONLY : 0;
96 r |= (l & O_WRONLY) ? SVR4_O_WRONLY : 0;
350 SCARG(&cup, flags) = O_WRONLY | O_CREAT | O_TRUNC;
/netbsd-6-1-5-RELEASE/sys/arch/atari/stand/installboot/
H A Dinstallboot.c253 if ((fd = open(devnm, O_WRONLY)) < 0)
313 if ((fd = open(devnm, O_WRONLY)) < 0)
386 if ((fd = open(devnm, O_WRONLY)) < 0)
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/unix/
H A Dfile.c521 flags = O_WRONLY | O_TRUNC;
523 flags = O_WRONLY | O_CREAT | O_EXCL;
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/win32/
H A Dfile.c587 flags = O_WRONLY | O_TRUNC;
589 flags = O_WRONLY | O_CREAT | O_EXCL;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/
H A Dsystem.h308 #ifndef O_WRONLY
309 # define O_WRONLY 1 macro
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/
H A Dinflow.c598 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
606 case O_WRONLY:
607 printf_filtered ("O_WRONLY");
/netbsd-6-1-5-RELEASE/sbin/shutdown/
H A Dshutdown.c536 if ((fastfd = open(_PATH_FASTBOOT, O_WRONLY|O_CREAT|O_TRUNC,
555 if ((logfd = open(_PATH_NOLOGIN, O_WRONLY|O_CREAT|O_TRUNC,
/netbsd-6-1-5-RELEASE/lib/libc/gen/
H A Dutmpx.c345 fd = open(file, O_WRONLY|O_APPEND|O_SHLOCK);
348 if ((fd = open(file, O_CREAT|O_WRONLY|O_EXLOCK, 0644)) == -1)
/netbsd-6-1-5-RELEASE/lib/libc/gmon/
H A Dgmon.c435 fd = open(proffile , O_CREAT|O_TRUNC|O_WRONLY, 0666);
441 logfd = open("gmon.log", O_CREAT|O_TRUNC|O_WRONLY, 0664);
/netbsd-6-1-5-RELEASE/lib/librmt/
H A Drmtlib.c835 return rmtopen(path, O_WRONLY | O_CREAT, mode);
837 return open(path, O_CREAT | O_TRUNC | O_WRONLY, mode);
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/m68hc11/
H A Ddv-m68hc11eepr.c572 if (m6811eepr_memory_rw (controller, O_WRONLY | O_CREAT) != 0)
617 m6811eepr_memory_rw (controller, O_WRONLY);
/netbsd-6-1-5-RELEASE/usr.bin/at/
H A Dat.c212 if ((lockdes = open(_PATH_LOCKFILE, O_WRONLY | O_CREAT, S_IWUSR | S_IRUSR)) < 0)
254 if ((fdes = open(atfile, O_CREAT | O_TRUNC | O_WRONLY, S_IRUSR)) == -1)
/netbsd-6-1-5-RELEASE/usr.bin/audio/ctl/
H A Dctl.c365 fd = open(file, O_WRONLY);
370 fd = open(file, O_WRONLY);

Completed in 382 milliseconds

1234567891011>>