Searched defs:plus (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/stdio/4.2/
H A Dfopen.c57 int plus, oflag, fd; local
61 plus = (mode[1] == '+');
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;
79 iop->_flag = plus ? _IORW : (mode[0] == 'r') ? _IOREAD : _IOWRT;
/illumos-gate/usr/src/lib/libbc/libc/stdio/sys5/
H A Dfopen.c51 int plus, oflag, fd; local
55 plus = (mode[1] == '+');
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;
73 iop->_flag = plus ? _IORW : (mode[0] == 'r') ? _IOREAD : _IOWRT;
75 if (!plus) {
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dfdopen.c60 char plus; local
87 if ((plus = type[1]) == 'b') /* Unix ignores 'b' ANSI std */
88 plus = type[2];
89 if (plus == '+')
H A Dfopen.c82 char plus, mode; local
119 if ((plus = type[1]) == 'b')
120 plus = type[2];
135 if ((accmode == O_RDONLY && (mode != 'r' || plus == '+')) ||
136 (accmode == O_WRONLY && (mode == 'r' || plus == '+'))) {
154 if (plus == '+') {
168 if (plus == '+') {
/illumos-gate/usr/src/ucblib/libucb/port/stdio/
H A Dfopen.c57 int plus, oflag, fd; local
61 plus = (mode[1] == '+');
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;
95 iop->_flag = plus ? _IORW : (mode[0] == 'r') ? _IOREAD : _IOWRT;
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A D_open.c302 int plus, oflag, fd; local
308 plus = (mode[1] == '+');
311 oflag = (plus ? O_RDWR : O_WRONLY) | N_O_TRUNC | N_O_CREAT;
314 oflag = (plus ? O_RDWR : O_WRONLY) | N_O_CREAT;
317 oflag = plus ? O_RDWR : O_RDONLY;
326 iop->_flag = plus ? _IORW : (mode[0] == 'r') ? _IOREAD : _IOWRT;
/illumos-gate/usr/src/lib/libast/common/misc/
H A Doptlib.h92 int plus; /* + ok */ member in struct:Optstate_s
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dfiles.c357 int plus; local
369 plus = 0;
374 plus = 1;
381 sprintf (cp, "%d", num + plus);
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dfiles.c136 #define plus (type[1] == '+') macro
139 oflag = plus? O_RDWR : O_WRONLY;
144 oflag = (plus? O_RDWR : O_WRONLY) | O_APPEND;
148 oflag = plus? O_RDWR : O_RDONLY;
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_cout.c459 char *plus = ""; local
470 * optionally the plus string, " + ", if this is not the first array,
474 plus = " + ";
488 tlen = slen + len + strlen(plus);
497 plus, dc->array_max);
500 plus, dc->array_max, elsize);
/illumos-gate/usr/src/cmd/make/bin/
H A Dglobals.cc127 Name plus; variable

Completed in 90 milliseconds