Home
last modified time | relevance | path

Searched refs:O_APPEND (Results 1 – 25 of 88) sorted by relevance

1234

/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dfopen.c159 nflag = oflag & ~O_APPEND; in _freopen_null()
162 nflag = oflag & ~O_APPEND; in _freopen_null()
165 nflag = oflag | O_APPEND; in _freopen_null()
173 nflag = oflag & ~O_APPEND; in _freopen_null()
176 nflag = oflag & ~O_APPEND; in _freopen_null()
179 nflag = oflag | O_APPEND; in _freopen_null()
H A D_stdio_flags.c66 oflag = O_WRONLY | O_APPEND | O_CREAT; in _stdio_flags()
H A D_endopen.c93 if (oflag == (O_WRONLY | O_APPEND | O_CREAT)) { /* type == "a" */ in _endopen()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstdio.c84 oflags = O_APPEND | O_WRONLY | O_CREAT;
87 oflags = O_APPEND | O_RDWR | O_CREAT;
102 if (oflags & O_APPEND)
424 oflags = O_APPEND | O_WRONLY | O_CREAT;
427 oflags = O_APPEND | O_RDWR | O_CREAT;
448 if (oflags & O_APPEND)
H A Dt-fopen.c27 out = sm_io_fopen("foo", O_WRONLY|O_APPEND|O_CREAT, 0666);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dfcntl.c228 #ifndef O_APPEND in main()
231 if (O_APPEND > o_local) o_local = O_APPEND; in main()
284 #ifndef O_APPEND in main()
/illumos-gate/usr/src/cmd/mail/
H A Dcreatemf.c74 O_APPEND|O_CREAT|O_EXCL|O_WRONLY, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP);
101 mbfd = open(path, O_APPEND|O_WRONLY, 0);
/illumos-gate/usr/src/contrib/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;
/illumos-gate/usr/src/test/zfs-tests/cmd/rm_lnkcnt_zero_file/
H A Drm_lnkcnt_zero_file.c106 *fd = open(filebase, O_APPEND | O_RDWR | O_CREAT, 0644); in writer()
127 fd = open(filebase, O_APPEND | O_RDWR | O_CREAT, 0644); in main()
/illumos-gate/usr/src/lib/sun_fc/common/
H A DTrace.cc76 fd = open(DEBUG_FILE, O_WRONLY|O_APPEND); /* will only open if exists */ in message()
82 fd = open(LOG_FILE, O_WRONLY|O_APPEND); in message()
/illumos-gate/usr/src/boot/sys/sys/
H A Dfcntl.h91 #define O_APPEND 0x0008 /* set append mode */ macro
177 #define FAPPEND O_APPEND /* kernel/compat */
/illumos-gate/usr/src/cmd/listen/
H A Dlsfiles.h37 #define LOGOFLAG (O_WRONLY | O_APPEND | O_CREAT)
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmlog.c65 if ((fd = open(logfile, O_WRONLY | O_CREAT | O_APPEND, 0444)) != -1) in openttymonlog()
232 if ((fd = open(EX_DBG, O_WRONLY|O_APPEND|O_CREAT)) < 0) in opendebug()
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dopen.cc47 ((flags & (O_CREAT|O_APPEND)) != 0) ? rw_write : rw_read); in open_vroot()
/illumos-gate/usr/src/cmd/audio/include/
H A DAudioTypes.h112 case AppendOnly: return (O_WRONLY | O_APPEND);
113 case ReadAppend: return (O_RDWR | O_APPEND);
/illumos-gate/usr/src/cmd/svc/startd/
H A Dlog.c287 fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND, in setlog()
338 fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND, in vlog_instance()
675 O_CREAT | O_RDWR | O_APPEND, 0644)) == -1) { in log_init()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/threadsappend/
H A Dthreadsappend.c108 outfd = open(argv[optind++], O_RDWR|O_CREAT|O_APPEND|O_TRUNC, 0777); in main()
/illumos-gate/usr/src/cmd/bnu/
H A Din.uucpd.c346 #define O_APPEND 0 /* kludge */ macro
403 wtmp = open("/usr/adm/wtmp", O_WRONLY|O_APPEND);
484 wtmp = open("/usr/adm/wtmp", O_WRONLY|O_APPEND);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.c81 fds[n++] = open(file, O_RDWR | O_APPEND | O_CREAT | O_DSYNC | in main()
/illumos-gate/usr/src/cmd/print/conv_fix/
H A Dconv_fix.c120 fd = open(ofile, O_RDWR|O_APPEND); in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dopen.c106 else if ((op & O_APPEND) && lseek(fd, 0L, SEEK_END) == -1L)
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpassprompt.c68 red = open("/etc/ppp/prompt-errors", O_WRONLY | O_APPEND | O_CREAT, in promptpass()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhistory.c150 O_BINARY|O_WRONLY|O_APPEND|O_CREAT,S_IRUSR|S_IWUSR))>=0 && in acctinit()
266 if((fd=open(cp,O_BINARY|O_APPEND|O_RDWR|O_CREAT,histmode))>=0) in sh_histinit()
297 fd = open(fname,O_BINARY|O_APPEND|O_CREAT|O_RDWR,S_IRUSR|S_IWUSR); in sh_histinit()
386 if((fd=sh_open(buff,O_BINARY|O_WRONLY|O_APPEND|O_CREAT,S_IRUSR|S_IWUSR))>=0 && fd < 10) in sh_histinit()
1199 if((newfd=open(hp->histname,O_BINARY|O_APPEND|O_CREAT|O_RDWR,S_IRUSR|S_IWUSR)) >= 0) in hist_exceptf()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Dio.d.in157 inline int O_APPEND = @O_APPEND@; variable
158 #pragma D binding "1.1" O_APPEND
/illumos-gate/usr/src/ucbhead/sys/
H A Dfcntl.h58 #define O_APPEND 010 /* append (writes guaranteed at the end) */ macro

1234