O_APPEND
#define FAPPEND O_APPEND /* kernel/compat */
case AppendOnly: return (O_WRONLY | O_APPEND);
case ReadAppend: return (O_RDWR | O_APPEND);
if ((fd = open(WTMPX_FILE, O_WRONLY | O_APPEND)) != -1) {
if ((fd = open(WTMPX_FILE, O_WRONLY | O_APPEND)) != -1) {
wtmp = open("/usr/adm/wtmp", O_WRONLY|O_APPEND);
wtmp = open("/usr/adm/wtmp", O_WRONLY|O_APPEND);
fd = open(CMDLOG, O_WRONLY | O_APPEND);
fd = open(logname, O_WRONLY | O_APPEND);
LogFile = open(LogName, O_WRONLY | O_APPEND);
errfd = open(_PATH_CONNERRS, O_WRONLY | O_APPEND | O_CREAT, 0600);
fd = open(*argv, O_WRONLY | O_APPEND | O_CREAT | O_EXCL, 0644);
fd = open(*argv, O_WRONLY | O_APPEND);
red = open("/etc/ppp/prompt-errors", O_WRONLY | O_APPEND | O_CREAT,
curlogfd = open(fname, O_WRONLY|O_APPEND|O_CREAT, 0600);
(void) open("/etc/ppp/pppoe-errors", O_WRONLY | O_APPEND |
nfd = open(fn, O_APPEND|O_WRONLY, 0644);
fd = open(argv[1], O_RDWR | O_CREAT | O_APPEND,
if (fcntl(1, F_SETFL, fcntl(1, F_GETFL) | O_APPEND) == -1) {
fds[n++] = open(file, O_RDWR | O_APPEND | O_CREAT | O_DSYNC |
: O_WRONLY|O_CREAT|O_APPEND, S_IRUSR|S_IWUSR
fd = open(fname, O_WRONLY|O_APPEND);
fd = open(file_name, O_CREAT|O_RDWR|O_APPEND, 0600);
O_APPEND|O_WRONLY, 0644)) < 0) {
if ((i = open(log, O_WRONLY|O_CREAT|O_APPEND, 0444)) < 0)
#define LOGOFLAG (O_WRONLY | O_APPEND | O_CREAT)
if ((fildes = open(LOGINLOG, O_APPEND|O_WRONLY)) != -1) {
open_mode |= O_APPEND;
oflag = (plus? O_RDWR : O_WRONLY) | O_APPEND;
mbfd = open(path, O_APPEND|O_WRONLY, 0);
O_APPEND|O_CREAT|O_EXCL|O_WRONLY, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP);
fd = open(tempEdit, O_CREAT|O_EXCL|O_APPEND|O_WRONLY,
if ((fd = open(tempEdit, O_APPEND|O_WRONLY,
((flags & (O_CREAT|O_APPEND)) != 0) ? rw_write : rw_read);
O_CREAT | O_APPEND | O_WRONLY, 0666);
oflags = O_RDWR | O_APPEND;
int flags = O_CREAT | O_WRONLY | O_APPEND;
open(lf, O_APPEND|O_WRONLY, 0644)) < 0) {
fd = open(ofile, O_RDWR|O_APPEND);
#define ALL_O_FLAGS O_ACCMODE | O_NDELAY | O_NONBLOCK | O_APPEND | \
if (flags & O_APPEND)
if ((fp = open(fname, O_WRONLY | O_APPEND | O_CREAT, 0644))
O_WRONLY|O_APPEND|O_CREAT|O_TRUNC, 0666)) == -1)
O_WRONLY|O_APPEND|O_CREAT|O_TRUNC, 0666)) == -1)
O_WRONLY|O_APPEND|O_CREAT|O_TRUNC, 0666))
O_WRONLY|O_APPEND|O_CREAT|O_TRUNC, 0666)) == -1)
if (oflags & O_APPEND)
oflags = O_APPEND | O_WRONLY | O_CREAT;
oflags = O_APPEND | O_RDWR | O_CREAT;
if (oflags & O_APPEND)
oflags = O_APPEND | O_WRONLY | O_CREAT;
oflags = O_APPEND | O_RDWR | O_CREAT;
out = sm_io_fopen("foo", O_WRONLY|O_APPEND|O_CREAT, 0666);
if (bitset(O_APPEND, omode))
else if (bitset(O_APPEND, omode))
volatile int oflags = O_WRONLY|O_APPEND;
#ifndef O_APPEND
(fp = safefopen(DeadLetterDrop, O_WRONLY|O_APPEND,
mbfd = open(path, O_APPEND|O_CREAT|O_EXCL|O_WRONLY,
mbfd = open(path, O_APPEND|O_WRONLY, 0);
O_WRONLY | O_APPEND | O_CREAT,
if ((dbg_fd = open(file, (O_RDWR | O_APPEND),
O_WRONLY | O_APPEND | O_CREAT, 0666)) != -1) {
(void) close(open(Sulog, O_WRONLY | O_APPEND | O_CREAT,
if ((fd = open(fname, O_CREAT|O_WRONLY|O_APPEND, 0600)) < 0) {
fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND,
fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND,
O_CREAT | O_RDWR | O_APPEND, 0644)) == -1) {
O_RDWR | O_APPEND | O_TRUNC)) == -1) {
O_WRONLY|O_APPEND|O_NOCTTY);
O_WRONLY|O_APPEND|O_NOCTTY);
O_WRONLY|O_APPEND|O_NOCTTY|O_NONBLOCK :
O_WRONLY|O_APPEND|O_NOCTTY;
mode_t fmode, omode = O_WRONLY|O_APPEND|O_NOCTTY;
(O_NDELAY|O_APPEND|O_SYNC|O_DSYNC|O_NONBLOCK|O_CREAT|O_TRUNC\
if (arg & O_APPEND)
sfd = open(tmps, O_CREAT|O_APPEND|O_EXCL|O_RDWR, 0600);
if ((fd = open(EX_DBG, O_WRONLY|O_APPEND|O_CREAT)) < 0)
if ((fd = open(logfile, O_WRONLY | O_CREAT | O_APPEND, 0444)) != -1)
O_RDWR | O_APPEND | O_CREAT | O_EXCL, 0640);
if (rval->sys_rval1 & O_APPEND)
if (rval->sys_rval1 & O_APPEND)
CONVERT(L9P_L_O_APPEND, O_APPEND);
append = (__fcntl(arg->fd, F_GETFL) & O_APPEND);
append = (__fcntl(arg->fd, F_GETFL) & O_APPEND);
(void) fcntl(fd, F_SETFL, fc | O_APPEND);
fd = open(file, O_WRONLY | O_APPEND);
if ((wfdx = open(filex, O_WRONLY | O_APPEND)) < 0)
if (oflag == (O_WRONLY | O_APPEND | O_CREAT)) { /* type == "a" */
oflag = O_WRONLY | O_APPEND | O_CREAT;
if ((oflags & O_APPEND) != 0) {
nflag = oflag & ~O_APPEND;
nflag = oflag & ~O_APPEND;
nflag = oflag | O_APPEND;
nflag = oflag & ~O_APPEND;
nflag = oflag & ~O_APPEND;
nflag = oflag | O_APPEND;
n = open(fileout, O_WRONLY|O_CREAT|O_APPEND, 0666);
flags = O_WRONLY|O_CREAT|O_APPEND;
if (flag & O_APPEND) {
fd = open(DEBUG_FILE, O_WRONLY|O_APPEND); /* will only open if exists */
fd = open(LOG_FILE, O_WRONLY|O_APPEND);
oflag = (O_RDWR|O_APPEND);
*fd = open(filebase, O_APPEND | O_RDWR | O_CREAT, 0644);
fd = open(filebase, O_APPEND | O_RDWR | O_CREAT, 0644);
outfd = open(argv[optind++], O_RDWR|O_CREAT|O_APPEND|O_TRUNC, 0777);