Symbol: O_APPEND
bin/csh/sem.c
579
#ifdef O_APPEND
bin/csh/sem.c
580
(fd = open(tmp, O_WRONLY | O_APPEND)) >= 0);
bin/dd/args.c
445
{ "append", O_APPEND, C_OFLAG },
bin/ksh/exec.c
1144
flags = O_WRONLY | O_APPEND | O_CREAT;
bin/ksh/history.c
854
if ((fd = open(hname, O_RDWR|O_CREAT|O_APPEND, 0600)) < 0)
bin/ksh/io.c
158
O_WRONLY|O_APPEND|O_CREAT, 0600,
bin/sh/histedit.c
473
n = open_history_file(name, O_WRONLY|O_CREAT|O_APPEND|O_CLOEXEC);
bin/sh/redir.c
438
if ((f = open(fname, O_WRONLY|O_CREAT|O_APPEND, 0666)) < 0)
bin/sh/redir.c
868
#ifdef O_APPEND
bin/sh/redir.c
869
{ "append", 2, O_APPEND },
bin/sh/redir.c
919
#define ALLFLAGS (O_APPEND|O_ASYNC|O_SYNC|O_NONBLOCK|O_DSYNC|O_RSYNC|\
bin/sh/show.c
148
fd = open(s, O_WRONLY|O_APPEND|O_CREAT, 0666);
common/dist/zlib/gzlib.c
244
O_APPEND)));
crypto/dist/ipsec-tools/src/racoon/dump.c
97
fd = open(path, O_WRONLY|O_CREAT|O_APPEND, 0600);
dist/pf/sbin/pflogd/privsep.c
165
O_RDWR|O_CREAT|O_APPEND|O_NONBLOCK|O_NOFOLLOW,
lib/libc/gen/utmpx.c
346
fd = open(file, O_WRONLY|O_APPEND|O_SHLOCK|O_CLOEXEC);
lib/libc/stdio/fdopen.c
114
if ((oflags & O_APPEND) && !(fdflags & O_APPEND))
lib/libc/stdio/flags.c
81
o = O_CREAT | O_APPEND;
lib/libc/stdio/fmemopen.c
220
cookie->cur = (oflags & O_APPEND) ? cookie->eob : cookie->head;
lib/libc/stdio/fopen.c
98
if (oflags & O_APPEND)
lib/libc/stdio/freopen.c
185
if (oflags & O_APPEND)
lib/libc/stdio/gettemp.c
91
(oflags & ~(O_APPEND | O_DIRECT | O_SHLOCK | O_EXLOCK | O_SYNC |
lib/libperfuse/ops.c
1391
mode &= ~(O_CREAT|O_EXCL|O_APPEND);
lib/libutil/compat/compat_login.c
74
if ((fd = open(_PATH_WTMP, O_WRONLY|O_APPEND, 0)) >= 0) {
lib/libutil/login.c
66
if ((fd = open(_PATH_WTMP, O_WRONLY|O_APPEND, 0)) >= 0) {
lib/libutil/logwtmp.c
64
if ((fd = open(_PATH_WTMP, O_WRONLY|O_APPEND, 0)) < 0)
libexec/ftpd/ftpd.c
768
xferlogfd = open(xferlogname, O_WRONLY | O_APPEND | O_CREAT,
libexec/ftpd/logwtmp.c
113
if ((fdx = open(wf, O_WRONLY|O_APPEND, 0)) == -1)
libexec/ftpd/logwtmp.c
77
if ((fd = open(wf, O_WRONLY|O_APPEND, 0)) == -1)
libexec/mail.local/mail.local.c
241
if ((mbfd = open(path, O_APPEND|O_WRONLY|O_EXLOCK|O_NOFOLLOW,
libexec/mail.local/mail.local.c
245
(mbfd = open(path, O_APPEND|O_CREAT|O_WRONLY|O_EXLOCK|O_EXCL,
sys/compat/linux/common/linux_file.c
110
res |= cvtto_bsd_mask(lflags, LINUX_O_APPEND, O_APPEND);
sys/compat/linux/common/linux_file.c
136
res |= cvtto_linux_mask(bflags, O_APPEND, LINUX_O_APPEND);
sys/fs/nilfs/nilfs_vnops.c
950
if ((flags & APPEND) && (ap->a_mode & (FWRITE | O_APPEND)) == FWRITE)
sys/fs/sysvbfs/sysvbfs_vnops.c
194
if ((a->a_mode & FWRITE) && !(a->a_mode & O_APPEND)) {
sys/fs/tmpfs/tmpfs_vnops.c
357
(mode & (FWRITE | O_APPEND)) == FWRITE) {
sys/fs/udf/udf_vnops.c
1351
if ((flags & APPEND) && (ap->a_mode & (FWRITE | O_APPEND)) == FWRITE)
sys/fs/v7fs/v7fs_vnops.c
324
((a->a_mode & (FWRITE | O_APPEND)) == FWRITE)) {
sys/kern/kern_acct.c
322
error = vn_open(NULL, pb, TRYEMULROOT, FWRITE|O_APPEND, 0,
sys/kern/vfs_vnops.c
695
if (vp->v_type == VREG && (fflag & O_APPEND))
sys/rump/kern/lib/libsys_cygwin/rump_cygwin_compat.c
154
flags = sflags & (3 | O_APPEND | O_ASYNC | O_CREAT | O_TRUNC | O_EXCL);
sys/sys/fcntl.h
140
#define O_MASK (O_ACCMODE|O_NONBLOCK|O_APPEND|O_SHLOCK|O_EXLOCK|\
sys/sys/fcntl.h
166
#define FAPPEND O_APPEND /* kernel/compat */
sys/ufs/chfs/chfs_vnops.c
336
if (ip->flags & APPEND && (mode & (FWRITE | O_APPEND)) == FWRITE)
sys/ufs/ext2fs/ext2fs_vnops.c
192
(ap->a_mode & (FWRITE | O_APPEND)) == FWRITE)
sys/ufs/lfs/ulfs_vnops.c
141
(ap->a_mode & (FWRITE | O_APPEND)) == FWRITE)
sys/ufs/ufs/ufs_vnops.c
239
(ap->a_mode & (FWRITE | O_APPEND)) == FWRITE)
tests/fs/ffs/t_update_log.c
85
RL(fd = rump_sys_open("dummy", O_APPEND | O_RDWR, 0755));
tests/fs/lfs/util.c
74
flags |= O_APPEND;
tests/fs/union/t_pr.c
223
fd = rump_sys_open("/mp/null", O_WRONLY | O_CREAT | O_APPEND, 0600);
tests/fs/vfs/t_io.c
88
O_CREAT | O_RDWR | (seekcnt ? O_APPEND : 0), 0600));
tests/kernel/kqueue/read/t_file.c
66
fd = open(FILENAME, O_WRONLY|O_APPEND, 0644);
tests/lib/libc/gen/posix_spawn/t_fileactions.c
119
CHECKFILE, O_WRONLY|O_APPEND, 0));
tests/lib/libc/kevent_nullmnt/h_nullmnt.c
47
write_file = open(argv[2], O_WRONLY, O_APPEND);
tests/lib/libc/stdlib/t_mktemp.c
195
O_APPEND, O_DIRECT,
tests/lib/libc/stdlib/t_mktemp.c
230
O_APPEND, O_DIRECT,
usr.bin/audio/record/record.c
224
ti.outfd = open(*argv, O_CREAT|(aflag ? O_APPEND : O_TRUNC)|O_WRONLY, 0666);
usr.bin/midirecord/midirecord.c
195
int mode = O_CREAT|(aflag ? O_APPEND : O_TRUNC)|O_WRONLY;
usr.bin/midirecord/midirecord.c
207
int mode = O_CREAT|(aflag ? O_APPEND : O_TRUNC)|O_WRONLY;
usr.bin/mkdep/mkdep.c
233
aflag = O_WRONLY | O_APPEND | O_CREAT | O_TRUNC;
usr.bin/nohup/nohup.c
117
if ((fd = open(p, O_RDWR|O_CREAT|O_APPEND, S_IRUSR|S_IWUSR)) >= 0)
usr.bin/nohup/nohup.c
123
if ((fd = open(p = path, O_RDWR|O_CREAT|O_APPEND, S_IRUSR|S_IWUSR)) >= 0)
usr.bin/sed/compile.c
294
O_WRONLY|O_APPEND|O_CREAT|O_TRUNC,
usr.bin/sed/compile.c
770
O_WRONLY|O_APPEND|O_CREAT|O_TRUNC,
usr.bin/sed/process.c
246
O_WRONLY|O_APPEND|O_CREAT|O_TRUNC,
usr.bin/sed/process.c
484
O_WRONLY|O_APPEND|O_CREAT|O_TRUNC, DEFFILEMODE)) == -1)
usr.bin/tee/tee.c
101
if ((fd = open(*argv, append ? O_WRONLY|O_CREAT|O_APPEND :
usr.sbin/bta2dpd/bta2dpd/bta2dpd.c
914
flags |= O_APPEND;
usr.sbin/lpr/lpd/printjob.c
158
if ((fd = open(LF, O_WRONLY|O_APPEND, 0664)) < 0) {
usr.sbin/lpr/lpd/recvjob.c
93
if ((fd = open(LF, O_WRONLY|O_APPEND, 0664)) < 0) {
usr.sbin/syslogd/syslogd.c
2527
O_WRONLY|O_APPEND|O_NONBLOCK, 0);
usr.sbin/syslogd/syslogd.c
4000
if ((f->f_file = open(p, O_WRONLY|O_APPEND|O_NONBLOCK, 0)) < 0)