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

1234567891011>>

/netbsd-current/external/ibm-public/postfix/dist/src/smtp/
H A Dsmtp_session.c260 if ((mp = vstream_memopen(dest_prop, O_WRONLY)) == 0
286 if ((mp = vstream_memopen(endp_prop, O_WRONLY)) == 0
/netbsd-current/bin/sh/
H A Dredir.c358 if ((f = open(fname, O_WRONLY)) == -1) {
359 if ((f = open(fname, O_WRONLY|O_CREAT|O_EXCL,
379 if ((f = open(fname, O_WRONLY|O_CREAT|O_TRUNC, 0666)) < 0)
385 if ((f = open(fname, O_WRONLY|O_CREAT|O_APPEND, 0666)) < 0)
834 #ifndef O_WRONLY
835 # define O_WRONLY 0 macro
873 #define IGNFLAGS (O_ACCMODE|O_RDONLY|O_WRONLY|O_RDWR|O_SHLOCK|O_EXLOCK| \
/netbsd-current/tests/lib/libossaudio/
H A Dt_ossaudio.c50 if ((fd = open("/dev/audio", O_WRONLY)) == -1)
348 if ((fd = open("/dev/audio", O_WRONLY)) == -1)
403 if ((fd = open(dev, O_WRONLY)) == -1) {
/netbsd-current/sbin/rndctl/
H A Drndctl.c267 if ((fd_seed = open(tmp, O_CREAT|O_TRUNC|O_WRONLY, 0600)) == -1)
309 if ((fd_new = open(tmp, O_CREAT|O_TRUNC|O_WRONLY, 0600)) == -1) {
388 if ((fd_random = open(_PATH_URANDOM, O_WRONLY)) == -1)
/netbsd-current/bin/cp/
H A Dutils.c158 to_fd = open(to.p_path, O_WRONLY | O_TRUNC, 0);
160 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
169 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
/netbsd-current/external/gpl2/lvm2/dist/lib/misc/
H A Dlvm-file.c63 *fd = open(buffer, O_CREAT | O_EXCL | O_WRONLY | O_APPEND,
/netbsd-current/lib/libutil/
H A Dttymsg.c111 if ((fd = open(device, O_WRONLY|O_NONBLOCK, 0)) < 0) {
H A Dpidlock.c88 if ((f = open(tempfile, O_WRONLY|O_CREAT|O_TRUNC, 0600)) == -1)
/netbsd-current/sys/arch/x68k/stand/newdisk/
H A Dnewdisk.c185 fd = open(dev, O_WRONLY);
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dtest-mem.c78 fd = open("/dev/stdout", O_WRONLY, 0600);
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/otp/
H A Dotp_db.c59 lock = open (OTP_DB_LOCK, O_WRONLY | O_CREAT | O_EXCL, 0666);
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Drand.c315 fd = open(filename, O_WRONLY | O_CREAT | O_BINARY, 0600);
/netbsd-current/external/gpl2/xcvs/dist/lib/
H A Dchdir-long.c86 new_fd = openat (cdb->fd, dir, O_WRONLY | O_DIRECTORY);
/netbsd-current/sbin/dump/
H A Dsnapshot.c122 fd = open(fss.fss_bstore, O_CREAT|O_EXCL|O_WRONLY, 0600);
/netbsd-current/usr.bin/mail/
H A Dmime_detach.c126 flags = (detach_ctl.overwrite ? 0 : O_EXCL) | O_CREAT | O_TRUNC | O_WRONLY;
/netbsd-current/tests/lib/libc/sys/
H A Dt_mkfifo.c190 ATF_REQUIRE_ERRNO(ENXIO, open(path, O_WRONLY | O_NONBLOCK) == -1);
/netbsd-current/tests/fs/vfs/
H A Dt_ro.c115 ATF_REQUIRE_ERRNO(expected, rump_sys_open(AFILE, O_WRONLY) == -1);
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Dsshpty.c113 fd = open(_PATH_TTY, O_WRONLY);
/netbsd-current/usr.sbin/btdevctl/
H A Dbtdevctl.c240 fd = open(BTHUB_PATH, O_WRONLY, 0);
/netbsd-current/usr.sbin/bthcid/
H A Dconfig.c184 fd = open(new_key_file, O_WRONLY|O_TRUNC|O_CREAT|O_EXLOCK, 0600);
/netbsd-current/external/gpl3/gcc.old/dist/gcc/d/dmd/root/
H A Dfile.c197 int fd = open(name, O_CREAT | O_WRONLY | O_TRUNC, (6 << 6) | (4 << 3) | 4);
/netbsd-current/usr.sbin/fwctl/
H A Dfwmpegts.c157 fd = open(filename, O_CREAT | O_WRONLY | O_TRUNC, 0660);
/netbsd-current/external/ibm-public/postfix/dist/src/global/
H A Ddelivered_hdr.c240 if ((mem_fp = vstream_memopen(mem_bp, O_WRONLY)) == 0)
241 msg_panic("vstream_memopen O_WRONLY failed: %m");
H A Dconfig_known_tcp_ports.c222 if ((memory_stream = vstream_memopen(msg_buf, O_WRONLY)) == 0)
/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dfind_inet.c222 if ((memory_stream = vstream_memopen(msg_buf, O_WRONLY)) == 0)

Completed in 566 milliseconds

1234567891011>>