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

1234567891011>>

/illumos-gate/usr/src/cmd/listen/
H A Dlsfiles.h37 #define LOGOFLAG (O_WRONLY | O_APPEND | O_CREAT)
40 #define PIDOFLAG (O_WRONLY | O_CREAT)
/illumos-gate/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)
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dmkstemp.c29 while ((fd = open(as, O_CREAT|O_EXCL|O_RDWR, 0600)) == -1) {
/illumos-gate/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) )
/illumos-gate/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;
136 if (oflag == (O_WRONLY | O_APPEND | O_CREAT)) { /* type == "a" */
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dkrbfileio.c22 open_flag = O_CREAT|O_EXCL|O_TRUNC|O_RDWR;
/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_open.c58 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600);
/illumos-gate/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);
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dopen.cc47 ((flags & (O_CREAT|O_APPEND)) != 0) ? rw_write : rw_read);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf_open.c61 if ((fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, 0644)) < 0)
/illumos-gate/usr/src/lib/libbc/libc/stdio/4.2/
H A Dfopen.c64 oflag = (plus ? O_RDWR : O_WRONLY) | O_TRUNC | O_CREAT;
67 oflag = (plus ? O_RDWR : O_WRONLY) | O_CREAT;
/illumos-gate/usr/src/lib/libbc/libc/stdio/sys5/
H A Dfopen.c58 oflag = (plus ? O_RDWR : O_WRONLY) | O_TRUNC | O_CREAT;
61 oflag = (plus ? O_RDWR : O_WRONLY) | O_APPEND | O_CREAT;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmkstemp.c96 if ((fd = open64(as, O_CREAT|O_EXCL|O_RDWR|flags,
101 if ((fd = open(as, O_CREAT|O_EXCL|O_RDWR|flags,
/illumos-gate/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) {
/illumos-gate/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);
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A D_creat.c34 #define CREATFLAGS (O_WRONLY | O_CREAT | O_TRUNC)
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_oflags.c42 if (oflags & O_CREAT)
/illumos-gate/usr/src/test/zfs-tests/cmd/mmapwrite/
H A Dmmapwrite.c77 if ((fd = open(argv[1], O_RDWR|O_CREAT|O_TRUNC, 0666)) == -1) {
/illumos-gate/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);
/illumos-gate/usr/src/test/zfs-tests/cmd/mkfiles/
H A Dmkfiles.c55 if ((fd = open(buf, O_CREAT | O_EXCL, O_RDWR)) == -1) {
/illumos-gate/usr/src/lib/libdtrace/common/
H A Dio.sed.in59 SED_REPLACE(O_CREAT)
/illumos-gate/usr/src/test/zfs-tests/cmd/rm_lnkcnt_zero_file/
H A Drm_lnkcnt_zero_file.c106 *fd = open(filebase, O_APPEND | O_RDWR | O_CREAT, 0644);
127 fd = open(filebase, O_APPEND | O_RDWR | O_CREAT, 0644);

Completed in 87 milliseconds

1234567891011>>