/titanic_41/usr/src/lib/libc/port/stdio/ |
H A D | _endopen.c | 72 oflag = O_WRONLY | O_TRUNC | O_CREAT; in _endopen() 76 oflag = O_WRONLY | O_APPEND | O_CREAT; in _endopen() 105 oflag = (oflag & ~(O_RDONLY | O_WRONLY)) | O_RDWR; in _endopen() 136 if (oflag == (O_WRONLY | O_APPEND | O_CREAT)) { /* type == "a" */ in _endopen()
|
/titanic_41/usr/src/cmd/listen/ |
H A D | lsfiles.h | 37 #define LOGOFLAG (O_WRONLY | O_APPEND | O_CREAT) 40 #define PIDOFLAG (O_WRONLY | O_CREAT)
|
/titanic_41/usr/src/lib/libnsctl/common/ |
H A D | cache.c | 70 if ((mode & O_ACCMODE) == O_WRONLY) { 128 if ((mode & O_ACCMODE) != O_WRONLY) { 129 if ((i & O_ACCMODE) == O_WRONLY) { 212 (void) open(_NSC_CKDCHK_LOG, O_WRONLY|O_CREAT|O_APPEND, 0666); 213 (void) open(_NSC_CKDCHK_LOG, O_WRONLY|O_CREAT|O_APPEND, 0666);
|
/titanic_41/usr/src/cmd/sendmail/libsm/ |
H A D | stdio.c | 83 oflags = O_WRONLY | O_CREAT | O_TRUNC; 86 oflags = O_APPEND | O_WRONLY | O_CREAT; 423 oflags = O_WRONLY | O_CREAT | O_TRUNC; 426 oflags = O_APPEND | O_WRONLY | O_CREAT; 502 case O_WRONLY:
|
/titanic_41/usr/src/lib/libbc/libc/stdio/4.2/ |
H A D | fopen.c | 64 oflag = (plus ? O_RDWR : O_WRONLY) | O_TRUNC | O_CREAT; in _endopen() 67 oflag = (plus ? O_RDWR : O_WRONLY) | O_CREAT; in _endopen()
|
/titanic_41/usr/src/lib/libbc/libc/stdio/sys5/ |
H A D | fopen.c | 58 oflag = (plus ? O_RDWR : O_WRONLY) | O_TRUNC | O_CREAT; in _endopen() 61 oflag = (plus ? O_RDWR : O_WRONLY) | O_APPEND | O_CREAT; in _endopen()
|
/titanic_41/usr/src/cmd/mail/ |
H A D | createmf.c | 76 O_APPEND|O_CREAT|O_EXCL|O_WRONLY, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP); 103 mbfd = open(path, O_APPEND|O_WRONLY, 0);
|
/titanic_41/usr/src/lib/libast/common/sfio/ |
H A D | _sfopen.c | 118 if((oflags&O_ACCMODE) != O_WRONLY) 159 oflags |= O_WRONLY | O_APPEND | O_CREAT; 184 oflags |= O_WRONLY | O_CREAT;
|
/titanic_41/usr/src/lib/libbc/inc/include/sys/ |
H A D | fcntlcom.h | 61 #define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR) 69 #define O_WRONLY 1 /* +1 == FWRITE */ macro
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | lfmt_log.c | 94 ((fd = open(LOGNAME, O_WRONLY)) == -1 || in __lfmt_log() 115 fdd = open(LOG_CONSOLE, O_WRONLY); in __lfmt_log()
|
H A D | syslog.c | 372 if (((fd = open(sysmsg, O_WRONLY)) >= 0) || in vsyslog() 373 (fd = open(ctty, O_WRONLY)) >= 0) { in vsyslog() 450 LogFile = open(logname, O_WRONLY); in openlog()
|
/titanic_41/usr/src/cmd/lp/lib/lp/ |
H A D | files.c | 139 oflag = plus? O_RDWR : O_WRONLY; in open_locked() 144 oflag = (plus? O_RDWR : O_WRONLY) | O_APPEND; in open_locked() 177 l.l_type = (oflag & (O_WRONLY|O_RDWR)? F_WRLCK : F_RDLCK); in open_locked()
|
/titanic_41/usr/src/cmd/ttymon/ |
H A D | tmlog.c | 73 if ((fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND,0444)) != -1) in openttymonlog() 173 } else if ((fd = open(CONSOLE, O_WRONLY|O_NOCTTY)) != -1) { in vlog() 242 if ((fd = open(EX_DBG, O_WRONLY|O_APPEND|O_CREAT)) < 0) in opendebug()
|
H A D | tmsac.c | 66 if ((Lckfd = open(PIDFILE, O_WRONLY|O_CREAT|O_TRUNC, 0644 )) != 0) in openpid() 89 Sfd = open(SACPIPE, O_WRONLY); in openpipes()
|
/titanic_41/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()
|
/titanic_41/usr/src/ucblib/libucb/port/stdio/ |
H A D | fopen.c | 64 oflag = (plus ? O_RDWR : O_WRONLY) | O_TRUNC | O_CREAT; in _endopen() 67 oflag = (plus ? O_RDWR : O_WRONLY) | O_CREAT; in _endopen()
|
/titanic_41/usr/src/lib/libshell/common/sh/ |
H A D | suid_exec.c | 381 if((n = open(tmpname, O_WRONLY | O_CREAT | O_EXCL, SPECIAL)) < 0 || in setids() 384 if((n = open(tmpname, O_WRONLY | O_CREAT ,SPECIAL)) < 0 || unlink(tmpname) < 0) in setids() 429 if((n = open(tmpname,O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, mode)) < 0) in setids() 432 if((n = open(tmpname,O_WRONLY|O_CREAT|O_TRUNC, mode)) < 0) in setids()
|
/titanic_41/usr/src/lib/pam_modules/authtok_check/ |
H A D | dict.c | 69 if ((lockfd = open(dblock, O_WRONLY|O_CREAT|O_EXCL, 0400)) == -1) { in lock_db() 71 lockfd = open(dblock, O_WRONLY); in lock_db()
|
/titanic_41/usr/src/lib/libdtrace/common/ |
H A D | io.d.in | 143 * flags behave as a bit-field *except* for O_RDONLY, O_WRONLY, and O_RDWR. 145 * F_GET[X]FL command, such as: if ((fi_oflags & O_ACCMODE) == O_WRONLY). 152 inline int O_WRONLY = @O_WRONLY@; variable 153 #pragma D binding "1.1" O_WRONLY
|
/titanic_41/usr/src/lib/libast/common/comp/ |
H A D | creat64.c | 35 return open64(path, O_WRONLY|O_CREAT|O_TRUNC, mode);
|
/titanic_41/usr/src/lib/libpkg/common/ |
H A D | pkgexecv.c | 389 n = open(fileout, O_WRONLY); in pkgexecv() 409 n = open(fileout, O_WRONLY|O_CREAT|O_APPEND, 0666); in pkgexecv()
|
/titanic_41/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | truncate.c | 44 if ((fd = open(path, O_WRONLY)) == -1) { in truncate()
|
/titanic_41/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | truncate.c | 47 if ((fd = open(path, O_WRONLY)) == -1) { in truncate()
|
/titanic_41/usr/src/lib/libast/common/features/ |
H A D | fcntl.c | 263 #ifndef O_WRONLY in main() 273 #ifndef O_WRONLY in main()
|
/titanic_41/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | cppath.c | 364 fd = open(a_file, O_WRONLY | O_CREAT | O_TRUNC, a_mode); in write_file() 367 fd = open(a_file, O_WRONLY | O_CREAT | O_TRUNC, a_mode); in write_file()
|