Searched refs:O_WRONLY (Results 26 - 50 of 612) sorted by relevance

1234567891011>>

/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dfifo_open.c61 if (open(FIFO_PATH, O_WRONLY | O_NONBLOCK, 0) < 0) {
H A Dstream_connect.c75 if ((fifo = open(path, O_WRONLY | O_NONBLOCK, 0)) < 0)
/netbsd-current/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.c89 __clockctl_fd = open(_PATH_CLOCKCTL, O_WRONLY | O_CLOEXEC, 0);
H A Dsettimeofday.c80 __clockctl_fd = open(_PATH_CLOCKCTL, O_WRONLY | O_CLOEXEC, 0);
/netbsd-current/external/gpl3/gdb.old/dist/sim/testsuite/sim/cris/c/
H A Dfdopen1.c26 fd = open (fname, O_WRONLY|O_TRUNC|O_CREAT, S_IRWXU);
/netbsd-current/tests/fs/vfs/
H A Dt_mtime_otrunc.c54 int f = rump_sys_open(LOCKFILE, O_WRONLY|O_CREAT|O_TRUNC, 0666);
/netbsd-current/tests/lib/libposix/
H A Dt_rename.c57 REQUIRE_LIBC(open("t1", O_CREAT | O_TRUNC | O_WRONLY, 0600), -1);
/netbsd-current/sys/dev/microcode/ral/
H A Dbuild.c38 fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644);
/netbsd-current/external/bsd/ntp/dist/lib/isc/win32/include/isc/
H A Dstat.h63 #define O_WRONLY _O_WRONLY macro
/netbsd-current/external/gpl3/gdb/dist/sim/testsuite/cris/c/
H A Dfdopen1.c26 fd = open (fname, O_WRONLY|O_TRUNC|O_CREAT, S_IRWXU);
/netbsd-current/sys/external/bsd/acpica/dist/include/platform/
H A Dacwin64.h92 #define O_WRONLY _O_WRONLY macro
/netbsd-current/external/bsd/libarchive/dist/libarchive/test/
H A Dtest_write_disk_failures.c43 fd = open("dir/testfile", O_WRONLY | O_CREAT | O_BINARY, 0777);
H A Dtest_read_large.c77 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY);
79 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY, 0755);
H A Dtest_read_data_large.c95 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY);
97 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY, 0777);
/netbsd-current/external/gpl2/lvm2/dist/daemons/cmirrord/
H A Dclogd.c96 if((fd = open(lockfile, O_CREAT | O_WRONLY,
238 open("/dev/null", O_WRONLY); /* reopen stdout */
239 open("/dev/null", O_WRONLY); /* reopen stderr */
/netbsd-current/usr.sbin/wsmuxctl/
H A Dwsmuxctl.c101 rfd = open(buf, O_WRONLY, 0);
160 wsfd = open(wsdev, O_WRONLY, 0);
165 wsfd = open(wsdev, O_WRONLY, 0);
/netbsd-current/libexec/ftpd/
H A Dlogwtmp.c77 if ((fd = open(wf, O_WRONLY|O_APPEND, 0)) == -1)
113 if ((fdx = open(wf, O_WRONLY|O_APPEND, 0)) == -1)
/netbsd-current/tests/fs/fifofs/
H A Dt_fifo.c45 fd = open(FIFO_FILE_PATH, O_WRONLY, 0);
122 if ((fd = open(FIFO_FILE_PATH, O_WRONLY, 0)) == -1)
/netbsd-current/usr.bin/tee/
H A Dtee.c101 if ((fd = open(*argv, append ? O_WRONLY|O_CREAT|O_APPEND :
102 O_WRONLY|O_CREAT|O_TRUNC, DEFFILEMODE)) < 0) {
/netbsd-current/tests/fs/ffs/
H A Dt_fifos.c37 fd = rump_sys_open("sheep", O_WRONLY);
52 fd = rump_sys_open("pigs", O_WRONLY);
/netbsd-current/tests/kernel/kqueue/read/
H A Dt_fifo.c85 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY | O_NONBLOCK)) >= 0);
127 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY | O_NONBLOCK)) >= 0);
/netbsd-current/lib/librumpuser/
H A Drumpuser_daemonize.c63 if ((fd = open(path, O_WRONLY|O_CREAT)) == -1)
69 if ((fd = open(path, O_WRONLY|O_CREAT)) == -1)
/netbsd-current/external/ibm-public/postfix/dist/src/global/
H A Ddot_lockfile.c99 if ((fd = open(lock_file, O_WRONLY | O_EXCL | O_CREAT, 0)) >= 0) {

Completed in 328 milliseconds

1234567891011>>