Symbol: O_APPEND
bin/csh/sem.c
564
(fd = open(tmp, O_WRONLY | O_APPEND)) >= 0);
bin/ksh/exec.c
1074
flags = O_WRONLY | O_APPEND | O_CREAT;
bin/ksh/io.c
174
O_WRONLY|O_APPEND|O_CREAT, 0600, SHF_WR|SHF_MAPHI);
lib/libc/stdio/fdopen.c
69
if ((oflags & O_APPEND) && !(fdflags & O_APPEND))
lib/libc/stdio/flags.c
67
o = O_CREAT | O_APPEND;
lib/libc/stdio/fmemopen.c
154
st->append = oflags & O_APPEND;
lib/libc/stdio/fmemopen.c
169
if (oflags & O_APPEND) {
lib/libc/stdio/fopen.c
75
if (oflags & O_APPEND)
lib/libc/stdio/freopen.c
158
if (oflags & O_APPEND)
lib/libc/stdlib/mkstemp.c
24
(O_APPEND | O_CLOEXEC | O_CLOFORK | O_DSYNC | O_RSYNC | O_SYNC)
lib/libutil/login.c
68
if ((fd = open(_PATH_WTMP, O_WRONLY|O_APPEND|O_CLOEXEC)) >= 0) {
lib/libutil/logwtmp.c
49
if ((fd = open(_PATH_WTMP, O_WRONLY|O_APPEND|O_CLOEXEC)) == -1)
lib/libz/gzlib.c
244
O_APPEND)));
libexec/ftpd/ftpd.c
970
if ((statfd = open(_PATH_FTPDSTATFILE, O_WRONLY|O_APPEND)) == -1)
libexec/ftpd/logwtmp.c
63
if (fd < 0 && (fd = open(_PATH_WTMP, O_WRONLY|O_APPEND)) == -1)
libexec/mail.local/mail.local.c
189
if ((mbfd = open(path, O_APPEND|O_CREAT|O_EXCL|O_WRONLY|O_EXLOCK,
libexec/mail.local/mail.local.c
215
if ((mbfd = open(path, O_APPEND|O_WRONLY|O_EXLOCK,
regress/sys/ffs/fstest.c
113
{ O_APPEND, "O_APPEND" },
regress/sys/kern/pwrite/pwrite.c
69
if (fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_APPEND))
regress/sys/kern/pwritev/pwritev.c
76
if (fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_APPEND))
sbin/isakmpd/monitor.c
256
O_APPEND;
sbin/pflogd/privsep.c
201
O_RDWR|O_CREAT|O_APPEND|O_NONBLOCK|O_NOFOLLOW,
sys/kern/kern_acct.c
121
if ((error = vn_open(&nd, FWRITE|O_APPEND, 0)) != 0)
sys/kern/vfs_vnops.c
402
if (vp->v_type == VREG && (fp->f_flag & O_APPEND) &&
sys/sys/fcntl.h
135
#define FAPPEND O_APPEND /* kernel/compat */
sys/tmpfs/tmpfs_vnops.c
378
(mode & (FWRITE | O_APPEND)) == FWRITE) {
sys/ufs/ext2fs/ext2fs_vnops.c
139
(ap->a_mode & (FWRITE | O_APPEND)) == FWRITE)
sys/ufs/ufs/ufs_vnops.c
207
(ap->a_mode & (FWRITE | O_APPEND)) == FWRITE)
usr.bin/cvs/history.c
166
if ((fd = open(fpath, O_WRONLY|O_APPEND)) == -1) {
usr.bin/ftp/fetch.c
1016
out = open(savefile, O_CREAT | O_WRONLY | O_APPEND,
usr.bin/less/edit.c
649
logfile = open(filename, O_WRONLY | O_APPEND);
usr.bin/nohup/nohup.c
113
if ((fd = open(p, O_RDWR|O_CREAT|O_APPEND, S_IRUSR|S_IWUSR)) >= 0)
usr.bin/nohup/nohup.c
120
if ((fd = open(p = path, O_RDWR|O_CREAT|O_APPEND, S_IRUSR|S_IWUSR)) >= 0)
usr.bin/rsync/mktemp.c
65
#define MKOTEMP_FLAGS (O_APPEND | O_CLOEXEC | O_DSYNC | O_RSYNC | O_SYNC)
usr.bin/sed/compile.c
271
O_WRONLY|O_APPEND|O_CREAT|O_TRUNC,
usr.bin/sed/compile.c
597
O_WRONLY|O_APPEND|O_CREAT|O_TRUNC,
usr.bin/sed/process.c
227
O_WRONLY|O_APPEND|O_CREAT|O_TRUNC,
usr.bin/sed/process.c
428
O_WRONLY|O_APPEND|O_CREAT|O_TRUNC, DEFFILEMODE)) == -1)
usr.bin/ssh/log.c
287
if ((fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND, 0600)) == -1) {
usr.bin/ssh/sftp-server.c
1622
if ((handle_to_flags(write_handle) & O_APPEND) == 0 &&
usr.bin/ssh/sftp-server.c
258
flags |= O_APPEND;
usr.bin/ssh/sftp-server.c
863
if (!(handle_to_flags(handle) & O_APPEND) &&
usr.bin/tee/tee.c
103
(append ? O_APPEND : O_TRUNC), DEFFILEMODE)) == -1) {
usr.bin/tmux/cmd-save-buffer.c
113
flags = O_APPEND;
usr.bin/tmux/file.c
324
if (flags & O_APPEND)
usr.bin/vi/common/exf.c
819
(LF_ISSET(FS_APPEND) ? O_APPEND : O_TRUNC);
usr.sbin/bpflogd/bpflogd.c
464
fd = open(bd->bd_fname, O_RDWR|O_APPEND);
usr.sbin/httpd/logger.c
186
if ((fd = open(path, O_WRONLY|O_APPEND|O_CREAT, 0644)) == -1) {
usr.sbin/ldapd/btree.c
1089
if (fcntl(fd, F_SETFL, fl | O_APPEND) == -1)
usr.sbin/ldapd/btree.c
1149
oflags = O_RDWR | O_CREAT | O_APPEND;
usr.sbin/ldapd/ldapd.c
397
oflags = O_RDWR | O_CREAT | O_APPEND;
usr.sbin/lpd/printer.c
147
fd = open(LP_LF(lp), O_WRONLY|O_APPEND);
usr.sbin/lpr/lpd/printjob.c
141
fd = open(LF, O_WRONLY|O_APPEND); /* set up log file */
usr.sbin/lpr/lpd/recvjob.c
100
if (open(LF, O_WRONLY|O_APPEND, 0664) < 0) {
usr.sbin/pppd/main.c
1062
errfd = open(_PATH_CONNERRS, O_WRONLY | O_APPEND | O_CREAT, 0600);
usr.sbin/smtpd/mail.mboxfile.c
71
fd = open(filename, O_CREAT | O_APPEND | O_WRONLY | O_EXLOCK, 0600);
usr.sbin/syslogd/privsep.c
459
return (open(path, O_WRONLY|O_APPEND|O_NONBLOCK));