/titanic_41/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)
|
/titanic_41/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) )
|
/titanic_41/usr/src/lib/libast/common/comp/ |
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 | creat64.c | 35 return open64(path, O_WRONLY|O_CREAT|O_TRUNC, mode);
|
/titanic_41/usr/src/lib/libc/port/stdio/ |
H A D | _endopen.c | 72 oflag = O_WRONLY | O_TRUNC | O_CREAT; in _endopen() 76 oflag = O_WRONLY | O_APPEND | O_CREAT; in _endopen() 136 if (oflag == (O_WRONLY | O_APPEND | O_CREAT)) { /* type == "a" */ in _endopen()
|
/titanic_41/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)
|
/titanic_41/usr/src/lib/libnsl/common/ |
H A D | daemon_utils.c | 127 if (mode & O_CREAT) in open_daemon_lock() 149 if ((fd = open_daemon_lock(name, O_RDWR|O_CREAT)) == -1) in _enter_daemon_lock() 177 int fd = open_daemon_lock(name, O_CREAT); in _create_daemon_lock()
|
/titanic_41/usr/src/lib/libdscfg/common/ |
H A D | cfg_lockdlck.c | 49 local_lockfd = open(CFG_RDEV_LOCKFILE, O_RDWR|O_CREAT, 0644); in cfg_lfinit() 65 if ((flag&O_CREAT) == 0) in cfg_filelock() 124 if (cfg_filelock(i, O_CREAT) == CFG_LF_OKAY) { in cfg_enterpid()
|
/titanic_41/usr/src/lib/libast/common/features/ |
H A D | fcntl.c | 228 #ifndef O_CREAT in main() 231 if (O_CREAT > o_local) o_local = O_CREAT; in main() 282 #ifndef O_CREAT in main()
|
/titanic_41/usr/src/lib/libbc/libc/stdio/4.2/ |
H A D | fopen.c | 64 oflag = (plus ? O_RDWR : O_WRONLY) | O_TRUNC | O_CREAT; in _endopen() 67 oflag = (plus ? O_RDWR : O_WRONLY) | O_CREAT; in _endopen()
|
/titanic_41/usr/src/lib/libbc/libc/stdio/sys5/ |
H A D | fopen.c | 58 oflag = (plus ? O_RDWR : O_WRONLY) | O_TRUNC | O_CREAT; in _endopen() 61 oflag = (plus ? O_RDWR : O_WRONLY) | O_APPEND | O_CREAT; in _endopen()
|
/titanic_41/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | fcntl.c | 61 #define FLAGS_MASK (O_SYNC|O_NONBLOCK|O_CREAT|O_TRUNC|O_EXCL \ 120 if (arg & O_CREAT) 162 narg |= O_CREAT;
|
/titanic_41/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | fcntl.c | 62 #define FLAGS_MASK (O_SYNC|O_NONBLOCK|O_CREAT|O_TRUNC|O_EXCL \ 123 if (arg & O_CREAT) 167 narg |= O_CREAT;
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | mkstemp.c | 96 if ((fd = open64(as, O_CREAT|O_EXCL|O_RDWR|flags, in libc_mkstemps() 101 if ((fd = open(as, O_CREAT|O_EXCL|O_RDWR|flags, in libc_mkstemps()
|
/titanic_41/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); in writer() 127 fd = open(filebase, O_APPEND | O_RDWR | O_CREAT, 0644); in main()
|
/titanic_41/usr/src/ucblib/libucb/port/stdio/ |
H A D | fopen.c | 64 oflag = (plus ? O_RDWR : O_WRONLY) | O_TRUNC | O_CREAT; in _endopen() 67 oflag = (plus ? O_RDWR : O_WRONLY) | O_CREAT; in _endopen()
|
/titanic_41/usr/src/lib/libshell/common/sh/ |
H A D | suid_exec.c | 381 if((n = open(tmpname, O_WRONLY | O_CREAT | O_EXCL, SPECIAL)) < 0 || in setids() 384 if((n = open(tmpname, O_WRONLY | O_CREAT ,SPECIAL)) < 0 || unlink(tmpname) < 0) in setids() 429 if((n = open(tmpname,O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, mode)) < 0) in setids() 432 if((n = open(tmpname,O_WRONLY|O_CREAT|O_TRUNC, mode)) < 0) in setids()
|
/titanic_41/usr/src/cmd/mailx/ |
H A D | quit.c | 172 if ((fd = open(tempQuit, O_RDWR|O_CREAT|O_EXCL, 0600)) < 0 || in quit() 197 if ((fd = open(mbox, O_RDWR|O_CREAT|O_TRUNC, MBOXPERM)) < 0 || in quit() 206 if ((fd = open(mbox, O_RDWR|O_CREAT, MBOXPERM)) < 0 || in quit() 299 fd = open(tempResid,O_RDWR|O_CREAT|O_EXCL, 0600); in writeback()
|
/titanic_41/usr/src/lib/libc/port/rt/ |
H A D | pos4obj.c | 306 if (!(oflag & O_CREAT)) { in __pos4obj_open() 327 fd = __open_nc(dfile, oflag & ~O_CREAT, mode); in __pos4obj_open() 379 if ((fd = __open_nc(dfile, O_RDWR | O_CREAT | O_EXCL, 0666)) in __pos4obj_lock()
|
/titanic_41/usr/src/test/zfs-tests/cmd/mktree/ |
H A D | mktree.c | 166 if ((fd = open(pname, O_CREAT|O_RDWR, 0777)) < 0) { in crtfile() 177 if ((afd = openat(fd, "xattr", O_CREAT | O_RDWR | O_XATTR, 0777)) < 0) { in crtfile()
|
/titanic_41/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_rep.c | 248 if ((fd = open(FAB_REPOSITORY, O_RDWR | O_CREAT)) == -1) { in update_fabric_wwn_list() 314 if ((copy_fd = open(copy_rep, O_RDWR | O_CREAT | O_TRUNC, in update_fabric_wwn_list() 442 if ((tmp_fd = open(tmp_rep, O_RDWR|O_CREAT|O_TRUNC, in update_fabric_wwn_list() 537 if ((tmp_fd = open(tmp_rep, O_RDWR|O_CREAT|O_TRUNC, in update_fabric_wwn_list()
|
/titanic_41/usr/src/lib/pam_modules/authtok_check/ |
H A D | packlib.c | 61 if ((fd_d = open(dname, O_RDWR|O_CREAT, 0600)) == -1) in PWOpen() 64 if ((fd_i = open(iname, O_RDWR|O_CREAT, 0600)) == -1) in PWOpen() 67 if ((fd_w = open(wname, O_RDWR|O_CREAT, 0600)) == -1) in PWOpen()
|
/titanic_41/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) { in mkstemp()
|
/titanic_41/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | cppath.c | 364 fd = open(a_file, O_WRONLY | O_CREAT | O_TRUNC, a_mode); in write_file() 367 fd = open(a_file, O_WRONLY | O_CREAT | O_TRUNC, a_mode); in write_file()
|
/titanic_41/usr/src/lib/libuutil/common/ |
H A D | uu_open.c | 58 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600); in uu_open_tmp()
|