/illumos-gate/usr/src/cmd/listen/ |
H A D | lsfiles.h | 37 #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 D | creat64.c | 35 return open64(path, O_WRONLY|O_CREAT|O_TRUNC, mode);
|
H A D | open.c | 58 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 D | symlink.c | 48 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 D | mkstemp.c | 29 while ((fd = open(as, O_CREAT|O_EXCL|O_RDWR, 0600)) == -1) {
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | _sfopen.c | 103 { 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.c | 72 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 D | krbfileio.c | 22 open_flag = O_CREAT|O_EXCL|O_TRUNC|O_RDWR;
|
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_open.c | 58 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600);
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | stdio.c | 77 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 D | t-fopen.c | 29 out = sm_io_fopen("foo", O_WRONLY|O_APPEND|O_CREAT, 0666);
|
/illumos-gate/usr/src/cmd/make/lib/vroot/ |
H A D | open.cc | 47 ((flags & (O_CREAT|O_APPEND)) != 0) ? rw_write : rw_read);
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_ctf_open.c | 61 if ((fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, 0644)) < 0)
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/4.2/ |
H A D | fopen.c | 64 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 D | fopen.c | 58 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 D | mkstemp.c | 96 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 D | cfg_lockdlck.c | 49 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 D | daemon_utils.c | 127 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.c | 34 #define CREATFLAGS (O_WRONLY | O_CREAT | O_TRUNC)
|
/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_oflags.c | 42 if (oflags & O_CREAT)
|
/illumos-gate/usr/src/test/zfs-tests/cmd/mmapwrite/ |
H A D | mmapwrite.c | 77 if ((fd = open(argv[1], O_RDWR|O_CREAT|O_TRUNC, 0666)) == -1) {
|
/illumos-gate/usr/src/lib/libast/common/features/ |
H A D | fcntl.c | 228 #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 D | mkfiles.c | 55 if ((fd = open(buf, O_CREAT | O_EXCL, O_RDWR)) == -1) {
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | io.sed.in | 59 SED_REPLACE(O_CREAT)
|
/illumos-gate/usr/src/test/zfs-tests/cmd/rm_lnkcnt_zero_file/ |
H A D | rm_lnkcnt_zero_file.c | 106 *fd = open(filebase, O_APPEND | O_RDWR | O_CREAT, 0644); 127 fd = open(filebase, O_APPEND | O_RDWR | O_CREAT, 0644);
|