/netbsd-6-1-5-RELEASE/external/bsd/less/dist/ |
H A D | defines.ds | 381 #define O_WRONLY _O_WRONLY
|
H A D | less.h | 248 #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 D | dict_cdb.c | 25 /* 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 D | memswitch.c | 408 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 D | play.c | 173 audiofd = open(device, O_WRONLY); 176 audiofd = open(device, O_WRONLY);
|
/netbsd-6-1-5-RELEASE/usr.sbin/lpr/lpd/ |
H A D | printjob.c | 158 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 D | process_test.c | 194 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 D | process_test.c | 196 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 D | sem.c | 580 (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 D | ip_fil.c | 319 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 D | linux_file.c | 94 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 D | svr4_fcntl.c | 74 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 D | svr4_32_fcntl.c | 74 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 D | installboot.c | 253 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 D | file.c | 521 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 D | file.c | 587 flags = O_WRONLY | O_TRUNC; 589 flags = O_WRONLY | O_CREAT | O_EXCL;
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/ |
H A D | system.h | 308 #ifndef O_WRONLY 309 # define O_WRONLY 1 macro
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/ |
H A D | inflow.c | 598 #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 D | shutdown.c | 536 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 D | utmpx.c | 345 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 D | gmon.c | 435 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 D | rmtlib.c | 835 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 D | dv-m68hc11eepr.c | 572 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 D | at.c | 212 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 D | ctl.c | 365 fd = open(file, O_WRONLY); 370 fd = open(file, O_WRONLY);
|