Searched refs:O_WRONLY (Results 1 - 25 of 384) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/
H A Dpr44328.C4 #define O_WRONLY (1<<1) macro
5 #define O_RDWR (O_RDONLY|O_WRONLY)
25 mode = O_WRONLY|O_CREAT|O_TRUNC;
/netbsd-6-1-5-RELEASE/lib/libc/compat-43/
H A Dcreat.c51 return(open(path, O_WRONLY|O_CREAT|O_TRUNC, mode));
/netbsd-6-1-5-RELEASE/lib/libutil/compat/
H A Dcompat_login.c69 if (tty > 0 && (fd = open(_PATH_UTMP, O_WRONLY|O_CREAT, 0644)) >= 0) {
74 if ((fd = open(_PATH_WTMP, O_WRONLY|O_APPEND, 0)) >= 0) {
/netbsd-6-1-5-RELEASE/lib/libutil/
H A Dlogin.c61 if (tty > 0 && (fd = open(_PATH_UTMP, O_WRONLY|O_CREAT, 0644)) >= 0) {
66 if ((fd = open(_PATH_WTMP, O_WRONLY|O_APPEND, 0)) >= 0) {
/netbsd-6-1-5-RELEASE/lib/libc/stdio/
H A Dflags.c74 m = O_WRONLY;
80 m = O_WRONLY;
/netbsd-6-1-5-RELEASE/external/public-domain/xz/dist/src/common/
H A Dtuklib_open_stdxxx.c39 | (i == 0 ? O_WRONLY : O_RDONLY));
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/
H A Dstream_pass_connect.c76 if ((fifo = open(path, O_WRONLY | O_NONBLOCK, 0)) < 0)
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/ld/
H A Dsysdep.h100 #ifndef O_WRONLY
101 #define O_WRONLY 1 macro
107 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/bfd/
H A Dsysdep.h95 #ifndef O_WRONLY
96 #define O_WRONLY 1 macro
102 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/bfd/
H A Dsysdep.h95 #ifndef O_WRONLY
96 #define O_WRONLY 1 macro
102 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
/netbsd-6-1-5-RELEASE/regress/sys/kern/kqueue/vnode/
H A Dwrite.c51 fd = open(argv[1], O_WRONLY);
/netbsd-6-1-5-RELEASE/sys/dev/microcode/ral/
H A Dbuild.c38 fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644);
/netbsd-6-1-5-RELEASE/sys/dev/microcode/rum/
H A Dbuild.c38 fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644);
/netbsd-6-1-5-RELEASE/sys/dev/microcode/zyd/
H A Dbuild.c37 fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/util/
H A Dcopy.pl55 sysopen(OUT, $dfile, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY)
/netbsd-6-1-5-RELEASE/lib/libc/db/hash/
H A Dndbm.c76 if ((flags & O_ACCMODE) == O_WRONLY) {
77 flags &= ~O_WRONLY;
/netbsd-6-1-5-RELEASE/usr.sbin/wsmuxctl/
H A Dwsmuxctl.c92 rfd = open(buf, O_WRONLY, 0);
150 wsfd = open(wsdev, O_WRONLY, 0);
155 wsfd = open(wsdev, O_WRONLY, 0);
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/libarchive/test/
H A Dtest_write_disk_failures.c51 fd = open("dir/testfile", O_WRONLY | O_CREAT | O_BINARY, 0777);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/win32/include/isc/
H A Dstat.h56 #define O_WRONLY _O_WRONLY macro
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/
H A Dfdopen1.c26 fd = open (fname, O_WRONLY|O_TRUNC|O_CREAT, S_IRWXU);
/netbsd-6-1-5-RELEASE/regress/sys/kern/write_append/
H A Dwrite_append.c21 if ((fd = open(fn, O_WRONLY | O_APPEND)) == -1)
/netbsd-6-1-5-RELEASE/lib/libc/sys/
H A Dadjtime.c79 __clockctl_fd = open(_PATH_CLOCKCTL, O_WRONLY | O_CLOEXEC, 0);
H A Dclock_settime.c81 __clockctl_fd = open(_PATH_CLOCKCTL, O_WRONLY | O_CLOEXEC, 0);
H A Dntp_adjtime.c90 __clockctl_fd = open(_PATH_CLOCKCTL, O_WRONLY | O_CLOEXEC, 0);
H A Dsettimeofday.c80 __clockctl_fd = open(_PATH_CLOCKCTL, O_WRONLY | O_CLOEXEC, 0);

Completed in 242 milliseconds

1234567891011>>