| /src/lib/libc/compat-43/ |
| creat.c | 51 return(open(path, O_WRONLY|O_CREAT|O_TRUNC, mode));
|
| /src/lib/libc/stdio/ |
| flags.c | 74 m = O_WRONLY; 80 m = O_WRONLY;
|
| /src/lib/libutil/compat/ |
| compat_login.c | 69 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) {
|
| /src/lib/libutil/ |
| login.c | 61 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) {
|
| /src/regress/sys/kern/kqueue/vnode/ |
| write.c | 51 fd = open(argv[1], O_WRONLY);
|
| /src/sys/dev/microcode/rum/ |
| build.c | 38 fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644);
|
| /src/sys/dev/microcode/run/ |
| build.c | 38 fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644);
|
| /src/sys/dev/microcode/zyd/ |
| build.c | 37 fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644);
|
| /src/sys/sys/ |
| timerfd.h | 44 #define TFD_TIMER_ABSTIME O_WRONLY
|
| /src/lib/libc/db/hash/ |
| ndbm.c | 76 if ((flags & O_ACCMODE) == O_WRONLY) { 77 flags &= ~O_WRONLY;
|
| /src/lib/libc/sys/ |
| adjtime.c | 79 __clockctl_fd = open(_PATH_CLOCKCTL, O_WRONLY | O_CLOEXEC, 0);
|
| clock_settime.c | 81 __clockctl_fd = open(_PATH_CLOCKCTL, O_WRONLY | O_CLOEXEC, 0);
|
| ntp_adjtime.c | 89 __clockctl_fd = open(_PATH_CLOCKCTL, O_WRONLY | O_CLOEXEC, 0);
|
| settimeofday.c | 80 __clockctl_fd = open(_PATH_CLOCKCTL, O_WRONLY | O_CLOEXEC, 0);
|
| /src/sys/dev/microcode/ral/ |
| build.c | 38 fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644);
|
| /src/tests/fs/vfs/ |
| t_mtime_otrunc.c | 54 int f = rump_sys_open(LOCKFILE, O_WRONLY|O_CREAT|O_TRUNC, 0666);
|
| /src/tests/lib/libposix/ |
| t_rename.c | 57 REQUIRE_LIBC(open("t1", O_CREAT | O_TRUNC | O_WRONLY, 0600), -1);
|
| /src/sys/external/bsd/acpica/dist/include/platform/ |
| acwin64.h | 200 #define O_WRONLY _O_WRONLY
|
| /src/usr.sbin/wsmuxctl/ |
| wsmuxctl.c | 101 rfd = open(buf, O_WRONLY, 0); 160 wsfd = open(wsdev, O_WRONLY, 0); 165 wsfd = open(wsdev, O_WRONLY, 0);
|
| /src/libexec/ftpd/ |
| logwtmp.c | 77 if ((fd = open(wf, O_WRONLY|O_APPEND, 0)) == -1) 113 if ((fdx = open(wf, O_WRONLY|O_APPEND, 0)) == -1)
|
| /src/tests/fs/ffs/ |
| t_fifos.c | 37 fd = rump_sys_open("sheep", O_WRONLY); 52 fd = rump_sys_open("pigs", O_WRONLY);
|
| /src/tests/fs/fifofs/ |
| t_fifo.c | 45 fd = open(FIFO_FILE_PATH, O_WRONLY, 0); 122 if ((fd = open(FIFO_FILE_PATH, O_WRONLY, 0)) == -1)
|
| /src/usr.bin/tee/ |
| tee.c | 101 if ((fd = open(*argv, append ? O_WRONLY|O_CREAT|O_APPEND : 102 O_WRONLY|O_CREAT|O_TRUNC, DEFFILEMODE)) < 0) {
|
| /src/lib/librumpuser/ |
| rumpuser_daemonize.c | 63 if ((fd = open(path, O_WRONLY|O_CREAT)) == -1) 69 if ((fd = open(path, O_WRONLY|O_CREAT)) == -1)
|
| /src/tests/kernel/kqueue/read/ |
| t_fifo.c | 85 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY | O_NONBLOCK)) >= 0); 127 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY | O_NONBLOCK)) >= 0);
|