O_APPEND
(fd = open(tmp, O_WRONLY | O_APPEND)) >= 0);
flags = O_WRONLY | O_APPEND | O_CREAT;
O_WRONLY|O_APPEND|O_CREAT, 0600, SHF_WR|SHF_MAPHI);
if ((oflags & O_APPEND) && !(fdflags & O_APPEND))
o = O_CREAT | O_APPEND;
st->append = oflags & O_APPEND;
if (oflags & O_APPEND) {
if (oflags & O_APPEND)
if (oflags & O_APPEND)
(O_APPEND | O_CLOEXEC | O_CLOFORK | O_DSYNC | O_RSYNC | O_SYNC)
if ((fd = open(_PATH_WTMP, O_WRONLY|O_APPEND|O_CLOEXEC)) >= 0) {
if ((fd = open(_PATH_WTMP, O_WRONLY|O_APPEND|O_CLOEXEC)) == -1)
O_APPEND)));
if ((statfd = open(_PATH_FTPDSTATFILE, O_WRONLY|O_APPEND)) == -1)
if (fd < 0 && (fd = open(_PATH_WTMP, O_WRONLY|O_APPEND)) == -1)
if ((mbfd = open(path, O_APPEND|O_CREAT|O_EXCL|O_WRONLY|O_EXLOCK,
if ((mbfd = open(path, O_APPEND|O_WRONLY|O_EXLOCK,
{ O_APPEND, "O_APPEND" },
if (fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_APPEND))
if (fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_APPEND))
O_APPEND;
O_RDWR|O_CREAT|O_APPEND|O_NONBLOCK|O_NOFOLLOW,
if ((error = vn_open(&nd, FWRITE|O_APPEND, 0)) != 0)
if (vp->v_type == VREG && (fp->f_flag & O_APPEND) &&
#define FAPPEND O_APPEND /* kernel/compat */
(mode & (FWRITE | O_APPEND)) == FWRITE) {
(ap->a_mode & (FWRITE | O_APPEND)) == FWRITE)
(ap->a_mode & (FWRITE | O_APPEND)) == FWRITE)
if ((fd = open(fpath, O_WRONLY|O_APPEND)) == -1) {
out = open(savefile, O_CREAT | O_WRONLY | O_APPEND,
logfile = open(filename, O_WRONLY | O_APPEND);
if ((fd = open(p, O_RDWR|O_CREAT|O_APPEND, S_IRUSR|S_IWUSR)) >= 0)
if ((fd = open(p = path, O_RDWR|O_CREAT|O_APPEND, S_IRUSR|S_IWUSR)) >= 0)
#define MKOTEMP_FLAGS (O_APPEND | O_CLOEXEC | O_DSYNC | O_RSYNC | O_SYNC)
O_WRONLY|O_APPEND|O_CREAT|O_TRUNC,
O_WRONLY|O_APPEND|O_CREAT|O_TRUNC,
O_WRONLY|O_APPEND|O_CREAT|O_TRUNC,
O_WRONLY|O_APPEND|O_CREAT|O_TRUNC, DEFFILEMODE)) == -1)
if ((fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND, 0600)) == -1) {
if ((handle_to_flags(write_handle) & O_APPEND) == 0 &&
flags |= O_APPEND;
if (!(handle_to_flags(handle) & O_APPEND) &&
(append ? O_APPEND : O_TRUNC), DEFFILEMODE)) == -1) {
flags = O_APPEND;
if (flags & O_APPEND)
(LF_ISSET(FS_APPEND) ? O_APPEND : O_TRUNC);
fd = open(bd->bd_fname, O_RDWR|O_APPEND);
if ((fd = open(path, O_WRONLY|O_APPEND|O_CREAT, 0644)) == -1) {
if (fcntl(fd, F_SETFL, fl | O_APPEND) == -1)
oflags = O_RDWR | O_CREAT | O_APPEND;
oflags = O_RDWR | O_CREAT | O_APPEND;
fd = open(LP_LF(lp), O_WRONLY|O_APPEND);
fd = open(LF, O_WRONLY|O_APPEND); /* set up log file */
if (open(LF, O_WRONLY|O_APPEND, 0664) < 0) {
errfd = open(_PATH_CONNERRS, O_WRONLY | O_APPEND | O_CREAT, 0600);
fd = open(filename, O_CREAT | O_APPEND | O_WRONLY | O_EXLOCK, 0600);
return (open(path, O_WRONLY|O_APPEND|O_NONBLOCK));