Searched refs:O_CREAT (Results 1 - 25 of 186) sorted by relevance

12345678

/osnet-11/usr/src/lib/libast/common/comp/
H A Dcreat64.c35 return open64(path, O_WRONLY|O_CREAT|O_TRUNC, mode);
H A Dopen.c58 mode = (op & O_CREAT) ? va_arg(ap, int) : S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH;
62 if (!(op & O_CREAT))
93 op &= ~(O_CREAT|O_TRUNC);
99 if (op & O_CREAT)
H A Dsymlink.c48 if ((fd = open(b, O_CREAT|O_TRUNC|O_WRONLY, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) < 0)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Memoize/t/
H A Derrors.t25 ODBM_File => [$dummyfile, O_RDWR|O_CREAT, 0666],
26 NDBM_File => [$dummyfile, O_RDWR|O_CREAT, 0666],
27 SDBM_File => [$dummyfile, O_RDWR|O_CREAT, 0666],
H A Dtie.t51 tie my %cache => $tiepack, $file, O_RDWR | O_CREAT, 0666
H A Dtie_ndbm.t47 tie my %cache => $tiepack, $file, O_RDWR | O_CREAT, 0666
H A Dtie_sdbm.t46 tie my %cache => $tiepack, $file, O_RDWR | O_CREAT, 0666
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Fcntl/t/
H A Dfcntl.t8 # A modest test: exercises only O_WRONLY, O_CREAT, and O_RDONLY.
19 if (sysopen(my $wo, "fcntl$$", O_WRONLY|O_CREAT)) {
/osnet-11/usr/src/lib/libc/port/stdio/
H A D_endopen.c72 oflag = O_WRONLY | O_TRUNC | O_CREAT;
76 oflag = O_WRONLY | O_APPEND | O_CREAT;
112 if (oflag == (O_WRONLY | O_APPEND | O_CREAT)) { /* type == "a" */
/osnet-11/usr/src/lib/libast/common/sfio/
H A D_sfopen.c103 { if((oflags&(O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL) )
115 else if(oflags&O_CREAT)
159 oflags |= O_WRONLY | O_APPEND | O_CREAT;
184 oflags |= O_WRONLY | O_CREAT;
203 if(!(oflags&O_CREAT) )
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dstdio.c77 oflags = O_RDWR | O_CREAT | O_TRUNC;
83 oflags = O_WRONLY | O_CREAT | O_TRUNC;
86 oflags = O_APPEND | O_WRONLY | O_CREAT;
89 oflags = O_APPEND | O_RDWR | O_CREAT;
417 oflags = O_RDWR | O_CREAT;
423 oflags = O_WRONLY | O_CREAT | O_TRUNC;
426 oflags = O_APPEND | O_WRONLY | O_CREAT;
429 oflags = O_APPEND | O_RDWR | O_CREAT;
486 if (flags & O_CREAT)
H A Dt-fopen.c29 out = sm_io_fopen("foo", O_WRONLY|O_APPEND|O_CREAT, 0666);
/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/libnsl/common/
H A Ddaemon_utils.c127 if (mode & O_CREAT)
149 if ((fd = open_daemon_lock(name, O_RDWR|O_CREAT)) == -1)
177 int fd = open_daemon_lock(name, O_CREAT);
/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg_lockdlck.c49 local_lockfd = open(CFG_RDEV_LOCKFILE, O_RDWR|O_CREAT, 0644);
65 if ((flag&O_CREAT) == 0)
124 if (cfg_filelock(i, O_CREAT) == CFG_LF_OKAY) {
/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/cmd/sendmail/db/os/
H A Dos_oflags.c42 if (oflags & O_CREAT)
/osnet-11/usr/src/lib/libast/common/features/
H A Dfcntl.c228 #ifndef O_CREAT
231 if (O_CREAT > o_local) o_local = O_CREAT;
282 #ifndef O_CREAT
283 printf("#define O_CREAT 0%o\n", o_local <<= 1);
/osnet-11/usr/src/lib/libdtrace/common/
H A Dio.sed.in59 SED_REPLACE(O_CREAT)
/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/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhsearch.c64 dbp = (DB *)__hash_open(NULL, O_CREAT | O_RDWR | O_BINARY, 0600, &info, 0);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/NDBM_File/t/
H A Dndbm.t28 #If Fcntl is not available, try 0x202 or 0x102 for O_RDWR|O_CREAT
37 ok(1, tie(%h,'NDBM_File','Op.dbmx', O_RDWR|O_CREAT, 0640));
197 $X = tie(%h, "SubDB","dbhash.tmp", O_RDWR|O_CREAT, 0640 );
233 ok(19, $db = tie(%h, 'NDBM_File','Op.dbmx', O_RDWR|O_CREAT, 0640)) ;
330 ok(40, $db = tie(%h, 'NDBM_File','Op.dbmx', O_RDWR|O_CREAT, 0640)) ;
393 ok(63, $db = tie(%h, 'NDBM_File','Op.dbmx', O_RDWR|O_CREAT, 0640)) ;
419 ok(65, tie(%h, 'NDBM_File','Op.dbmx', O_RDWR|O_CREAT, 0640)) ;
436 ok(66, my $db = tie(%h, 'NDBM_File','Op.dbmx', O_RDWR|O_CREAT, 0640)) ;
472 ok(72, my $db = tie(%h, 'NDBM_File','Op.dbmx', O_RDWR|O_CREAT, 0640)) ;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/ODBM_File/t/
H A Dodbm.t28 #If Fcntl is not available, try 0x202 or 0x102 for O_RDWR|O_CREAT
37 ok(1, tie(%h,'ODBM_File','Op.dbmx', O_RDWR|O_CREAT, 0640));
197 $X = tie(%h, "SubDB","dbhash.tmp", O_RDWR|O_CREAT, 0640 );
235 ok(19, $db = tie(%h, 'ODBM_File','Op.dbmx', O_RDWR|O_CREAT, 0640)) ;
332 ok(40, $db = tie(%h, 'ODBM_File','Op.dbmx', O_RDWR|O_CREAT, 0640)) ;
395 ok(63, $db = tie(%h, 'ODBM_File','Op.dbmx', O_RDWR|O_CREAT, 0640)) ;
421 ok(65, tie(%h, 'ODBM_File','Op.dbmx', O_RDWR|O_CREAT, 0640)) ;
442 ok(67, my $db = tie(%h, 'ODBM_File','Op.dbmx', O_RDWR|O_CREAT, 0640)) ;
478 ok(73, my $db = tie(%h, 'ODBM_File','Op.dbmx', O_RDWR|O_CREAT, 0640)) ;

Completed in 72 milliseconds

12345678