Searched refs:O_EXCL (Results 1 - 15 of 15) sorted by relevance

/ast/src/lib/libast/comp/
H A Dopen.c63 op &= ~O_EXCL;
68 if ((op & O_EXCL) && !access(path, F_OK))
73 if ((fd = creat(path, (op & O_EXCL) ? 0 : mode)) < 0)
75 if (op & O_EXCL)
/ast/src/lib/libast/features/
H A Dfcntl.c238 #ifndef O_EXCL
241 if (O_EXCL > o_local) o_local = O_EXCL;
290 #ifndef O_EXCL
291 printf("#define O_EXCL 0%o\n", o_local <<= 1);
/ast/src/lib/libast/sfio/
H A D_sfopen.c109 { if((oflags&(O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL) )
200 oflags |= O_EXCL;
215 oflags &= ~O_EXCL;
H A Dsftmp.c258 if((fd = sysopenf(file,O_RDWR|O_CREAT|O_EXCL|O_TEMPORARY,SF_CREATMODE)) >= 0)
H A Dsfhdr.h986 #define O_EXCL 040 macro
/ast/src/cmd/ksh93/sh/
H A Dsuid_exec.c380 #ifdef O_EXCL
381 if((n = open(tmpname, O_WRONLY | O_CREAT | O_EXCL, SPECIAL)) < 0 ||
428 #ifdef O_EXCL
429 if((n = open(tmpname,O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, mode)) < 0)
433 #endif /* O_EXCL */
H A Dio.c1343 o_mode |= O_EXCL;
1367 o_mode |= O_EXCL;
/ast/src/lib/libast/path/
H A Dpathtemp.c49 * if fdp!=0 then the path is opened O_EXCL and *fdp is the open fd
325 if ((n = open(b, O_CREAT|O_RDWR|O_EXCL|O_TEMPORARY, tmp.mode)) >= 0)
/ast/src/cmd/cs/vcs_src/
H A Difs_func.c356 fd = open( fname, O_WRONLY|O_CREAT|O_EXCL, 0600 );
/ast/src/cmd/3d/
H A Dopen3d.c210 if ((oflag & O_CREAT) && (!sp || level || (oflag & O_EXCL)) || (sp || level) && ((oflag & O_TRUNC) || (oflag & O_ACCMODE) != O_RDONLY))
/ast/src/cmd/kshlib/dbm_t/
H A Ddbm_t.c355 oflags |= O_EXCL;
/ast/src/cmd/kshlib/open/
H A Dopen.c481 oflag |= O_EXCL;
/ast/src/lib/libcmd/
H A Dcp.c598 else if ((wfd = open(state->path, (st.st_mode ? (state->wflags & ~O_EXCL) : state->wflags)|O_cloexec, ent->fts_statp->st_mode & state->perm)) < 0)
889 state->wflags |= O_EXCL;
/ast/src/lib/libtksh/tcl/
H A DtclIOUtil.c288 mode |= O_EXCL;
/ast/src/cmd/nmake/
H A Dstate.c581 if ((fd = open(file, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL|O_BINARY|O_cloexec, 0)) >= 0)

Completed in 56 milliseconds