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

1234

/osnet-11/usr/src/lib/libast/common/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)
/osnet-11/usr/src/lib/libuutil/common/
H A Duu_open.c58 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dmkstemp.c94 if ((fd = open64(as, O_CREAT|O_EXCL|O_RDWR, 0600)) != -1) {
98 if ((fd = open(as, O_CREAT|O_EXCL|O_RDWR, 0600)) != -1) {
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dkrbfileio.c63 fd = THREEPARAMOPEN(pathname, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0600);
/osnet-11/usr/src/lib/libast/common/features/
H A Dfcntl.c233 #ifndef O_EXCL
236 if (O_EXCL > o_local) o_local = O_EXCL;
285 #ifndef O_EXCL
286 printf("#define O_EXCL 0%o\n", o_local <<= 1);
/osnet-11/usr/src/lib/libast/common/sfio/
H A D_sfopen.c103 { if((oflags&(O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL) )
189 oflags |= O_EXCL;
204 oflags &= ~O_EXCL;
/osnet-11/usr/src/lib/libdtrace/common/
H A Dio.sed.in61 SED_REPLACE(O_EXCL)
H A Dio.d.in161 inline int O_EXCL = @O_EXCL@;
162 #pragma D binding "1.1" O_EXCL
/osnet-11/usr/src/lib/libresolv2/common/bsd/
H A Dmktemp.c128 open(path, O_CREAT|O_EXCL|O_RDWR, 0600)) >= 0)
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/db/
H A Ddb.c59 (O_CREAT | O_EXCL | O_EXLOCK | O_NONBLOCK | O_RDONLY | \
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dunix_io.c67 #ifndef O_EXCL
68 # define O_EXCL 0 macro
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Fcntl/
H A DMakefile.PL45 O_CREAT O_DEFER O_DIRECT O_DIRECTORY O_DSYNC O_EXCL
H A DFcntl.pm37 (O_APPEND, O_ASYNC, O_CREAT, O_DEFER, O_EXCL, O_NDELAY, O_NONBLOCK,
115 O_EXCL
/osnet-11/usr/src/lib/libshell/common/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 */
/osnet-11/usr/src/lib/libmail/common/
H A Dmaillock.c133 fd = open(tempfile, O_RDWR|O_CREAT|O_EXCL, 0600);
/osnet-11/usr/src/cmd/sendmail/db/os/
H A Dos_open.c50 * with O_CREAT and O_EXCL set will return failure in at least one.
56 flags |= O_EXCL;
/osnet-11/usr/src/lib/libc/port/rt/
H A Dpos4obj.c307 * the file. We do this by or'ing in O_EXCL, and attempting an
308 * open. If that fails with an EEXIST, and O_EXCL wasn't specified
316 if ((fd = __open_nc(dfile, (oflag | O_EXCL), mode)) == -1) {
317 if (errno == EEXIST && !(oflag & O_EXCL)) {
370 if ((fd = __open_nc(dfile, O_RDWR | O_CREAT | O_EXCL, 0666))
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/
H A Dadb_openclose.c63 db = dbopen(filename, O_RDWR | O_CREAT | O_EXCL, 0600, DB_BTREE, &btinfo);
70 lf = THREEPARAMOPEN(lockfilename, O_RDWR | O_CREAT | O_EXCL, 0600);
384 fd = THREEPARAMOPEN(db->lock->filename,O_RDWR | O_CREAT | O_EXCL,
/osnet-11/usr/src/lib/pam_modules/authtok_check/
H A Ddict.c69 if ((lockfd = open(dblock, O_WRONLY|O_CREAT|O_EXCL, 0400)) == -1) {
/osnet-11/usr/src/lib/libdevice/
H A Ddevctl.c115 oflags = ((flags & DC_EXCL) != 0) ? O_EXCL|O_RDWR : O_RDWR;
138 oflags = ((flags & DC_EXCL) != 0) ? O_EXCL|O_RDWR : O_RDWR;
164 oflags = ((flags & DC_EXCL) != 0) ? O_EXCL : 0;
190 oflags = ((flags & DC_EXCL) != 0) ? (O_EXCL | O_RDWR) : O_RDWR;
214 oflags = ((flags & DC_EXCL) != 0) ? (O_EXCL | O_RDWR) : O_RDWR;
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dclient.c527 if ((respfd = open(respfile, O_CREAT |O_RDWR | O_EXCL, 0600)) == -1) {
675 if ((fd = open(crlfile, O_CREAT |O_RDWR | O_EXCL, 0644)) == -1)
749 if ((fd = open(certfile, O_CREAT |O_RDWR | O_EXCL, 0644)) == -1)
/osnet-11/usr/src/lib/libdhcpsvc/modules/binfiles/
H A Ddhcptab.c384 newfd = open(newpath, O_WRONLY|O_CREAT|O_EXCL, 0644);
503 newfd = open(newpath, O_WRONLY|O_CREAT|O_EXCL, 0644);
606 newfd = open(newpath, O_WRONLY|O_CREAT|O_EXCL, 0644);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/POSIX/
H A DMakefile.PL60 O_CREAT O_EXCL O_NOCTTY O_NONBLOCK O_RDONLY O_RDWR O_TRUNC O_WRONLY
/osnet-11/usr/src/lib/librcm/
H A Dlibrcm_event.c336 fd = open(door_name, O_EXCL|O_CREAT, S_IREAD|S_IWRITE);
/osnet-11/usr/src/lib/libdhcpsvc/modules/util/
H A Dutil.c71 open_flags |= O_CREAT|O_EXCL;

Completed in 118 milliseconds

1234