Searched refs:O_APPEND (Results 1 - 20 of 20) sorted by relevance

/ast/src/lib/libast/features/
H A Dfcntl.c228 #ifndef O_APPEND
231 if (O_APPEND > o_local) o_local = O_APPEND;
284 #ifndef O_APPEND
285 printf("#define O_APPEND 0%o\n", o_local <<= 1);
/ast/src/lib/libast/comp/
H A Dopen.c106 else if ((op & O_APPEND) && lseek(fd, 0L, SEEK_END) == -1L)
H A Dfmtmsglib.c274 mm.console = open("/dev/console", O_WRONLY|O_APPEND|O_NOCTTY);
H A Dsyslog.c271 if ((log.fd = open(s, O_WRONLY|O_APPEND|O_NOCTTY|O_cloexec)) < 0 && (log.fd = sockopen(s)) < 0)
/ast/src/lib/libcs/
H A Dcslib.h163 #if !defined(FAPPEND) && defined(O_APPEND)
164 #define FAPPEND O_APPEND
/ast/src/lib/libast/sfio/
H A D_sfopen.c78 { if ((oflags &= (O_TEXT|O_BINARY|O_APPEND)) != 0 )
81 ctl = (ctl & ~(O_TEXT|O_BINARY|O_APPEND)) | oflags;
166 oflags |= O_WRONLY | O_APPEND | O_CREAT;
H A Dsfhdr.h985 #define O_APPEND 020 macro
/ast/src/lib/libcmd/
H A Dtee.c135 oflag |= O_APPEND;
/ast/src/cmd/cs/
H A Dcat.c49 int fd; /* O_APPEND fd */
107 if (!s || (ad = csopen(s, 0)) < 0 && (ad = open(s, O_CREAT|O_APPEND|O_WRONLY|O_BINARY, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) < 0)
/ast/src/cmd/ksh93/edit/
H A Dhistory.c150 O_BINARY|O_WRONLY|O_APPEND|O_CREAT,S_IRUSR|S_IWUSR))>=0 &&
266 if((fd=open(cp,O_BINARY|O_APPEND|O_RDWR|O_CREAT,histmode))>=0)
297 fd = open(fname,O_BINARY|O_APPEND|O_CREAT|O_RDWR,S_IRUSR|S_IWUSR);
386 if((fd=sh_open(buff,O_BINARY|O_WRONLY|O_APPEND|O_CREAT,S_IRUSR|S_IWUSR))>=0 && fd < 10)
1199 if((newfd=open(hp->histname,O_BINARY|O_APPEND|O_CREAT|O_RDWR,S_IRUSR|S_IWUSR)) >= 0)
/ast/src/cmd/ie/
H A Dio.h171 # define O_APPEND 010 macro
H A Dhistory.c140 if((fd=open(histname,O_APPEND|O_RDWR|O_CREAT|O_BINARY,S_IRUSR|S_IWUSR))>=0)
/ast/src/cmd/cs/vcs_src/
H A Difs_func.c305 flog = open( logfile, O_WRONLY|O_APPEND, 0600 );
/ast/src/cmd/kshlib/open/
H A Dopen.c487 oflag |= O_APPEND;
/ast/src/lib/libjcl/
H A Drun.c206 if ((n = open(redirect[i].file, O_CREAT|O_TRUNC|O_WRONLY|O_APPEND|O_BINARY, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) != redirect[i].fd)
/ast/src/cmd/3d/
H A Dfs.c577 fs->fd = fs3d_open(svc, O_CREAT|O_RDWR|O_APPEND, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
/ast/src/lib/libtksh/tcl/
H A DtclIOUtil.c283 mode |= O_APPEND;
/ast/src/cmd/ksh93/sh/
H A Dio.c1336 o_mode |= O_APPEND;
H A Dpath.c1409 fd = open( SHACCT , O_WRONLY | O_APPEND | O_CREAT,RW_ALL);
/ast/src/cmd/at/
H A Datd.c1215 if ((fd = open(AT_LOG_FILE, O_CREAT|O_WRONLY|O_APPEND, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)) < 0 || fd != 2 && (dup2(fd, 2) != 2 || close(fd)))

Completed in 54 milliseconds