| /onnv/onnv-gate/usr/src/lib/libc/port/stdio/ |
| _endopen.c | 58 int oflag, fd, fflag; local 68 oflag = O_RDONLY; 72 oflag = O_WRONLY | O_TRUNC | O_CREAT; 76 oflag = O_WRONLY | O_APPEND | O_CREAT; 84 oflag = (oflag & ~(O_RDONLY | O_WRONLY)) | O_RDWR; 90 fd = open64(name, oflag, 0666); 92 fd = open(name, oflag, 0666); 112 if (oflag == (O_WRONLY | O_APPEND | O_CREAT)) { /* type == "a" */
|
| fopen.c | 83 int oflag, nflag, fd, accmode; local 116 if ((oflag = fcntl(fd, F_GETFL)) == -1) 134 accmode = oflag & O_ACCMODE; 146 nflag = oflag & ~O_APPEND; 149 nflag = oflag & ~O_APPEND; 152 nflag = oflag | O_APPEND; 160 nflag = oflag & ~O_APPEND; 163 nflag = oflag & ~O_APPEND; 166 nflag = oflag | O_APPEND;
|
| /onnv/onnv-gate/usr/src/lib/libbc/libc/stdio/4.2/ |
| fopen.c | 57 int plus, oflag, fd; local 64 oflag = (plus ? O_RDWR : O_WRONLY) | O_TRUNC | O_CREAT; 67 oflag = (plus ? O_RDWR : O_WRONLY) | O_CREAT; 70 oflag = plus ? O_RDWR : O_RDONLY; 75 if ((fd = open(file, oflag, 0666)) < 0)
|
| /onnv/onnv-gate/usr/src/lib/libbc/libc/stdio/sys5/ |
| fopen.c | 51 int plus, oflag, fd; local 58 oflag = (plus ? O_RDWR : O_WRONLY) | O_TRUNC | O_CREAT; 61 oflag = (plus ? O_RDWR : O_WRONLY) | O_APPEND | O_CREAT; 64 oflag = plus ? O_RDWR : O_RDONLY; 69 if ((fd = open(file, oflag, 0666)) < 0)
|
| /onnv/onnv-gate/usr/src/cmd/oamuser/group/ |
| groupadd.c | 64 int oflag = 0; /* flags */ local 76 oflag++; 83 if ((oflag && !gidstr) || optind != argc - 1) { 121 if (!oflag) {
|
| groupmod.c | 65 int oflag = 0; /* flags */ local 72 oflag = 0; /* flags */ 80 oflag++; 91 if ((oflag && !gidstr) || optind != argc - 1) { 116 if (!oflag) {
|
| /onnv/onnv-gate/usr/src/cmd/mdb/common/mdb/ |
| mdb_module_load.c | 174 uint_t oflag = mdb_iob_getflags(mdb.m_out) & MDB_IOB_PGENABLE; local 180 mdb_iob_clrflags(mdb.m_out, oflag); 187 mdb_iob_setflags(mdb.m_out, oflag);
|
| /onnv/onnv-gate/usr/src/ucblib/libucb/port/stdio/ |
| fopen.c | 57 int plus, oflag, fd; local 64 oflag = (plus ? O_RDWR : O_WRONLY) | O_TRUNC | O_CREAT; 67 oflag = (plus ? O_RDWR : O_WRONLY) | O_CREAT; 70 oflag = plus ? O_RDWR : O_RDONLY; 77 fd = open64(file, oflag, 0666); /* mapped to open() for V9 */ 79 fd = open(file, oflag, 0666);
|
| /onnv/onnv-gate/usr/src/lib/libcmd/common/ |
| tee.c | 113 register int oflag = O_WRONLY|O_TRUNC|O_CREAT|O_BINARY; local 136 oflag &= ~O_TRUNC; 137 oflag |= O_APPEND; 182 if ((*hp = open(cp, oflag, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) < 0)
|
| /onnv/onnv-gate/usr/src/uts/common/io/ |
| tclient.c | 58 int oflag; member in struct:dstate 229 dstatep->oflag = 1; 249 dstatep->oflag = 0;
|
| /onnv/onnv-gate/usr/src/uts/sun4u/grover/sys/ |
| grfans.h | 64 uint16_t oflag[2]; member in struct:grfans_unit
|
| /onnv/onnv-gate/usr/src/cmd/lp/lib/lp/ |
| files.c | 127 oflag, local 139 oflag = plus? O_RDWR : O_WRONLY; 144 oflag = (plus? O_RDWR : O_WRONLY) | O_APPEND; 148 oflag = plus? O_RDWR : O_RDONLY; 155 if ((fd = Open(path, oflag, mode)) == -1) 160 if ((fd = Open(path, oflag|O_CREAT, mode)) != -1) 177 l.l_type = (oflag & (O_WRONLY|O_RDWR)? F_WRLCK : F_RDLCK);
|
| /onnv/onnv-gate/usr/src/cmd/mkmsgs/ |
| mkmsgs.c | 125 int oflag; /* -o option was slecified */ local 137 oflag = 0; 156 oflag++; 175 if (iflag && oflag && argc != 6) 177 if (iflag && ! oflag && argc != 5) 179 if (! iflag && oflag && argc != 4) 181 if (! iflag && ! oflag && argc != 3) 204 if (! oflag) {
|
| /onnv/onnv-gate/usr/src/lib/libc/port/threads/ |
| pthread.c | 43 } oflag; member in struct:__once 46 #define once_flag oflag.pad32_flag[1]
|
| /onnv/onnv-gate/usr/src/ucbcmd/install.d/ |
| install.c | 80 int oflag = 0; local 106 oflag++; 157 if (oflag && chown(dirname, pp->pw_uid, -1) && errno != EPERM) {
|
| /onnv/onnv-gate/usr/src/uts/sun4u/javelin/sys/ |
| envctrltwo.h | 64 boolean_t oflag; /* already open */ member in struct:envctrlunit
|
| /onnv/onnv-gate/usr/src/lib/libshell/common/sh/ |
| bash.c | 196 int setflag=0, quietflag=0, oflag=0; local 221 oflag=1; 258 ||(oflag&&(n&SH_BASHOPT)))
|
| /onnv/onnv-gate/usr/src/cmd/abi/appcert/static_prof/ |
| static_prof.h | 143 static int oflag = 0; /* flag for redirecting output */ variable
|
| /onnv/onnv-gate/usr/src/cmd/allocate/ |
| add_allocatable.c | 173 int aflag, cflag, dflag, fflag, lflag, nflag, oflag, tflag; local 178 aflag = cflag = dflag = fflag = lflag = nflag = oflag = tflag = 0; 249 oflag++; 296 if (aflag || cflag || lflag || oflag)
|
| /onnv/onnv-gate/usr/src/cmd/bnu/ |
| uudecode.c | 115 int oflag = 0; local 141 oflag++; 172 if ((argc > 0) || errflag || (oflag && pipeout)) {
|
| /onnv/onnv-gate/usr/src/cmd/diff3/ |
| diff3prog.c | 97 static int oflag; /* indicates whether to mark overlaps (-E or -X) */ variable 127 oflag = 0; 141 oflag = 1; 144 oflag = eflag = 1; 155 if (oflag) { 540 if (!oflag || !overlap[n]) 551 if (!oflag || !overlap[n])
|
| /onnv/onnv-gate/usr/src/cmd/oamuser/user/ |
| useradd.c | 135 int ch, ret, mflag = 0, oflag = 0, Dflag = 0, **gidlist; local 203 oflag++; 262 if (uidstr != NULL || oflag || grps != NULL || 411 if (!oflag) { 581 if (oflag) nargv[argindex++] = "-o";
|
| usermod.c | 144 int ch, ret = EX_SUCCESS, call_pass = 0, oflag = 0; local 214 oflag++; 264 if ((!uidstr && oflag) || (mflag && !dir)) { 391 if (!oflag) { 411 oflag = 0; 612 if (oflag) nargv[argindex++] = "-o";
|
| /onnv/onnv-gate/usr/src/lib/libbc/libc/sys/common/ |
| _open.c | 301 int plus, oflag, fd; local 310 oflag = (plus ? O_RDWR : O_WRONLY) | N_O_TRUNC | N_O_CREAT; 313 oflag = (plus ? O_RDWR : O_WRONLY) | N_O_CREAT; 316 oflag = plus ? O_RDWR : O_RDONLY; 321 if ((fd = _syscall(SYS_open, file, oflag, 0666)) < 0)
|
| /onnv/onnv-gate/usr/src/lib/libc/port/gen/ |
| attrat.c | 146 int oflag; local 150 oflag = O_RDONLY; 153 oflag = mode & O_RDWR; 160 oflag |= O_XATTR; 163 xattrfd = openat(basefd, xattrname, oflag);
|