/ast/src/cmd/3d/ |
H A D | creat3d.c | 29 return(open(path, O_WRONLY|O_CREAT|O_TRUNC, mode));
|
H A D | vcs_3d.h | 60 if (!(f & O_CREAT) && (f & O_ACCMODE != O_WRONLY) && state.vcs.fd)\
|
H A D | touch.c | 143 if ((fd = open(file, O_WRONLY|O_CREAT|O_TRUNC|O_cloexec, mode)) < 0) return(-1); 183 if ((fd = open(file, O_WRONLY|O_CREAT|O_TRUNC|O_cloexec, mode)) >= 0)
|
/ast/src/lib/libast/comp/ |
H A D | creat64.c | 35 return open64(path, O_WRONLY|O_CREAT|O_TRUNC, mode);
|
H A D | symlink.c | 48 if ((fd = open(b, O_CREAT|O_TRUNC|O_WRONLY|O_cloexec, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) < 0)
|
H A D | fmtmsglib.c | 274 mm.console = open("/dev/console", O_WRONLY|O_APPEND|O_NOCTTY);
|
H A D | syslog.c | 271 if ((log.fd = open(s, O_WRONLY|O_APPEND|O_NOCTTY|O_cloexec)) < 0 && (log.fd = sockopen(s)) < 0)
|
/ast/src/lib/libast/misc/ |
H A D | systrace.c | 59 ov[0] = PROC_FD_DUP(open("/dev/null", O_WRONLY), 2, PROC_FD_PARENT|PROC_FD_CHILD);
|
/ast/src/lib/libcoshell/ |
H A D | cosync.c | 70 if ((td = open(tmp, O_WRONLY|O_CREAT|O_TRUNC|O_cloexec, 0)) >= 0)
|
/ast/src/lib/libast/features/ |
H A D | fcntl.c | 268 #ifndef O_WRONLY 278 #ifndef O_WRONLY 279 printf("#define O_WRONLY 1\n"); 308 printf("#define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)\n");
|
/ast/src/cmd/ksh93/sh/ |
H A D | suid_exec.c | 381 if((n = open(tmpname, O_WRONLY | O_CREAT | O_EXCL, SPECIAL)) < 0 || 384 if((n = open(tmpname, O_WRONLY | O_CREAT ,SPECIAL)) < 0 || unlink(tmpname) < 0) 429 if((n = open(tmpname,O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, mode)) < 0) 432 if((n = open(tmpname,O_WRONLY|O_CREAT|O_TRUNC, mode)) < 0)
|
/ast/src/lib/libast/sfio/ |
H A D | _sfopen.c | 124 if((oflags&O_ACCMODE) != O_WRONLY) 166 oflags |= O_WRONLY | O_APPEND | O_CREAT; 195 oflags |= O_WRONLY | O_CREAT;
|
/ast/src/cmd/cs/vcs_src/ |
H A D | ifs_func.c | 223 if( (fd = open( pDst, O_WRONLY|O_CREAT, 0644 )) > 0 ) { 305 flog = open( logfile, O_WRONLY|O_APPEND, 0600 ); 356 fd = open( fname, O_WRONLY|O_CREAT|O_EXCL, 0600 );
|
H A D | ifs_rsh.c | 64 if( (fd = open( tmpfile, O_WRONLY|O_CREAT, 0644 )) < 0 ) {
|
/ast/src/lib/libtksh/tcl/ |
H A D | tclIOUtil.c | 100 int writing = (flags & O_ACCMODE) == O_WRONLY; 208 #define RW_MODES (O_RDONLY|O_WRONLY|O_RDWR) 224 mode = O_WRONLY|O_CREAT|O_TRUNC; 227 mode = O_WRONLY|O_CREAT; 277 mode = (mode & ~O_ACCMODE) | O_WRONLY; 895 flags = O_WRONLY | O_CREAT | O_TRUNC; 900 flags = O_WRONLY | O_CREAT; 938 flags = O_WRONLY | O_CREAT | O_TRUNC; 942 flags = O_WRONLY | O_CREAT;
|
/ast/src/lib/libast/tm/ |
H A D | tvtouch.c | 150 if ((fd = open(path, O_WRONLY|O_CREAT|O_TRUNC|O_cloexec, mode)) < 0) 274 if ((fd = open(path, O_WRONLY|O_CREAT|O_TRUNC|O_cloexec, mode)) < 0)
|
/ast/src/lib/libcmd/ |
H A D | fds.c | 234 switch (flags & (O_RDONLY|O_WRONLY|O_RDWR)) 239 case O_WRONLY:
|
H A D | tee.c | 113 register int oflag = O_WRONLY|O_TRUNC|O_CREAT|O_BINARY|O_cloexec;
|
/ast/src/cmd/pack/ |
H A D | pack.c | 154 else if(((out=open(outfile,O_WRONLY|O_CREAT|O_TRUNC|O_BINARY,PERM(statb.st_mode))) < 0) ||
|
H A D | unpack.c | 165 else if(((out=open(outfile,O_WRONLY|O_CREAT|O_TRUNC|O_BINARY,PERM(statb.st_mode))) < 0) ||
|
/ast/src/cmd/cs/ |
H A D | cat.c | 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/mailx/ |
H A D | local.c | 139 close(open(state.path.mail, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY|O_cloexec, MAILMODE)); 840 if (!force || close(open(file, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY|O_cloexec, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)))
|
/ast/src/lib/libcs/ |
H A D | cssend.c | 110 if ((i = open(s, O_WRONLY|O_CREAT|O_TRUNC, CS_AUTH_MODE)) < 0 || chmod(s, CS_AUTH_MODE) < 0)
|
/ast/src/cmd/ie/ |
H A D | io.h | 175 # define O_WRONLY 01 macro
|
/ast/src/cmd/ss/ |
H A D | ssd.c | 270 if (remote && remove(flush)) close(open(flush, O_WRONLY|O_CREAT|O_TRUNC, 0)); 369 if ((n = open(data, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY, 0)) < 0)
|