/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | fopen.c | 159 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.c | 66 oflag = O_WRONLY | O_APPEND | O_CREAT; in _stdio_flags()
|
H A D | _endopen.c | 93 if (oflag == (O_WRONLY | O_APPEND | O_CREAT)) { /* type == "a" */ in _endopen()
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | stdio.c | 84 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 D | t-fopen.c | 27 out = sm_io_fopen("foo", O_WRONLY|O_APPEND|O_CREAT, 0666);
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | fcntl.c | 228 #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 D | createmf.c | 74 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.c | 78 { 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 D | rm_lnkcnt_zero_file.c | 106 *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 D | Trace.cc | 76 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 D | fcntl.h | 91 #define O_APPEND 0x0008 /* set append mode */ macro 177 #define FAPPEND O_APPEND /* kernel/compat */
|
/illumos-gate/usr/src/cmd/listen/ |
H A D | lsfiles.h | 37 #define LOGOFLAG (O_WRONLY | O_APPEND | O_CREAT)
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmlog.c | 65 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 D | open.cc | 47 ((flags & (O_CREAT|O_APPEND)) != 0) ? rw_write : rw_read); in open_vroot()
|
/illumos-gate/usr/src/cmd/audio/include/ |
H A D | AudioTypes.h | 112 case AppendOnly: return (O_WRONLY | O_APPEND); 113 case ReadAppend: return (O_RDWR | O_APPEND);
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | log.c | 288 fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND, in setlog() 339 fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND, in vlog_instance() 684 O_CREAT | O_RDWR | O_APPEND, 0644)) == -1) { in log_init()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | in.uucpd.c | 348 #define O_APPEND 0 /* kludge */ macro 405 wtmp = open("/usr/adm/wtmp", O_WRONLY|O_APPEND); 486 wtmp = open("/usr/adm/wtmp", O_WRONLY|O_APPEND);
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/threadsappend/ |
H A D | threadsappend.c | 108 outfd = open(argv[optind++], O_RDWR|O_CREAT|O_APPEND|O_TRUNC, 0777); in main()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/io/ |
H A D | tst.fds.c | 81 fds[n++] = open(file, O_RDWR | O_APPEND | O_CREAT | O_DSYNC | in main()
|
/illumos-gate/usr/src/cmd/print/conv_fix/ |
H A D | conv_fix.c | 120 fd = open(ofile, O_RDWR|O_APPEND); in main()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | open.c | 106 else if ((op & O_APPEND) && lseek(fd, 0L, SEEK_END) == -1L)
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | history.c | 150 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 D | io.d.in | 157 inline int O_APPEND = @O_APPEND@; variable 158 #pragma D binding "1.1" O_APPEND
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/ |
H A D | passprompt.c | 68 red = open("/etc/ppp/prompt-errors", O_WRONLY | O_APPEND | O_CREAT, in promptpass()
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | fcntl.h | 58 #define O_APPEND 010 /* append (writes guaranteed at the end) */ macro
|