Searched defs:oflags (Results 1 - 25 of 31) sorted by relevance

12

/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwaddnstr.c55 short oflags; local
67 oflags = w->_flags & (W_FLUSH | W_SYNC_UP);
76 w->_flags |= oflags;
H A Dwaddnws.c55 short oflags; local
67 oflags = w->_flags & (W_FLUSH | W_SYNC_UP);
76 w->_flags |= oflags;
H A Dwbrdr_st.c57 short oflags; local
71 oflags = w->_flags & (W_FLUSH | W_SYNC_UP);
86 w->_flags |= oflags;
H A Dwinsnstr.c54 short oflags; local
69 oflags = w->_flags & (W_FLUSH | W_SYNC_UP);
78 w->_flags |= oflags;
/osnet-11/usr/src/lib/libast/common/sfio/
H A Dsfset.c38 reg int oflags, tflags, rv; local
46 if((oflags = (f->mode&SF_RDWR)) != (int)f->mode)
53 rv = _sfmode(f,oflags,0);
65 oflags = f->flags;
76 f->flags |= (oflags&SF_RDWR);
98 SFMTXRETURN(f, (oflags&SF_FLAGS));
H A D_sfopen.c46 int fd, oldfd, oflags, sflags; local
50 if((sflags = _sftype(mode,&oflags,NIL(int*))) == 0)
77 if(f->file >= 0 && (oflags &= (O_TEXT|O_BINARY|O_APPEND)) != 0 )
80 ctl = (ctl & ~(O_TEXT|O_BINARY|O_APPEND)) | oflags;
97 while((fd = sysopenf((char*)file,oflags,SF_CREATMODE)) < 0 && errno == EINTR)
100 while((fd = sysopenf(file,oflags&O_ACCMODE)) < 0 && errno == EINTR)
103 { if((oflags&(O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL) )
107 if(oflags&O_TRUNC ) /* truncate file */
115 else if(oflags&O_CREAT)
118 if((oflags
148 reg int sflags, oflags, uflag; local
[all...]
H A Dsfsetbuf.c107 int sf_malloc, oflags, init, okmmap, local; local
178 oflags = f->flags;
361 sf_malloc = (oflags&SF_MALLOC);
398 if(obuf && obuf != f->data && osize > 0 && (oflags&SF_MALLOC))
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwaddnws.c56 short oflags; local
65 oflags = w->_flags & (W_FLUSH | W_SYNC_UP);
75 w->_flags |= oflags;
H A Dwaddnstr.c57 short oflags; local
66 oflags = w->_flags & (W_FLUSH | W_SYNC_UP);
75 w->_flags |= oflags;
H A Dwinsnstr.c56 short oflags; local
68 oflags = w->_flags & (W_FLUSH | W_SYNC_UP);
77 w->_flags |= oflags;
H A Dwadd_wch.c79 int oflags; local
81 oflags = w->_flags & (W_FLUSH | W_SYNC_UP);
129 w->_flags = oflags | (w->_flags & ~(W_FLUSH | W_SYNC_UP));
H A Dwbrdr_st.c60 short oflags; local
67 oflags = w->_flags & (W_FLUSH | W_SYNC_UP);
82 w->_flags |= oflags;
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dstdio.c69 int oflags; local
74 oflags = O_RDWR;
77 oflags = O_RDWR | O_CREAT | O_TRUNC;
80 oflags = O_RDONLY;
83 oflags = O_WRONLY | O_CREAT | O_TRUNC;
86 oflags = O_APPEND | O_WRONLY | O_CREAT;
89 oflags = O_APPEND | O_RDWR | O_CREAT;
97 oflags |= O_BINARY;
99 fp->f_file = open(path, oflags,
104 if (oflags
412 int oflags, tmp, fdflags, fd = *((int *) info); local
[all...]
/osnet-11/usr/src/lib/libresolv2/common/resolv/
H A Dres_query.c119 u_int oflags; local
123 oflags = statp->_flags;
159 ((oflags ^ statp->_flags) & RES_F_EDNS0ERR) != 0) {
/osnet-11/usr/src/lib/libnetcfg/common/
H A Dlibnetcfg_zio.c208 int oflags; local
214 * If the caller just wants to open() the file, the oflags and mode
216 * modestr that is used to set oflags and mode. In the latter case,
221 oflags = zfarg->zfarg_openarg.zopen_oflag;
224 oflags = (modestr[0] == 'r') ?
240 if (oflags & O_CREAT) {
251 fd = open(filename, oflags, mode);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_retr.c222 krb5_flags oflags = 0; local
229 kret = krb5_cc_get_flags(context, id, &oflags);
232 if (oflags & KRB5_TC_OPENCLOSE)
233 (void) krb5_cc_set_flags(context, id, oflags & ~KRB5_TC_OPENCLOSE);
236 if (oflags & KRB5_TC_OPENCLOSE)
237 krb5_cc_set_flags(context, id, oflags);
262 if (oflags & KRB5_TC_OPENCLOSE)
263 krb5_cc_set_flags(context, id, oflags);
274 if (oflags & KRB5_TC_OPENCLOSE)
275 krb5_cc_set_flags(context, id, oflags);
[all...]
/osnet-11/usr/src/cmd/sendmail/db/btree/
H A Dbt_recno.c943 u_int32_t bytes, mbytes, oflags; local
955 oflags = F_ISSET(dbp, DB_AM_RDONLY) ? DB_RDONLY : 0;
957 __db_open(rp->re_source, oflags, oflags, 0, &rp->re_fd)) != 0) {
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dread.c226 int oflags=NV_NOASSIGN|NV_VARNAME; local
237 oflags |= NV_ARRAY;
238 np = nv_open(name,shp->var_tree,oflags);
/osnet-11/usr/src/lib/fm/libseslog/common/
H A Dlibseslog.c56 int oflags = O_NONBLOCK | O_RDWR; local
59 fd = open(device_name, oflags);
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dargs.c597 void sh_printopts(Shopt_t oflags,register int mode, Shopt_t *mask) argument
632 on = !!is_option(&oflags,value);
653 on_option(&oflags,SH_VIRAW);
673 on = !!is_option(&oflags,value);
697 else if(!(value&SH_COMMANDLINE) && is_option(&oflags,value&0xff))
/osnet-11/usr/src/lib/libdevice/
H A Ddevctl.c104 uint_t oflags; local
115 oflags = ((flags & DC_EXCL) != 0) ? O_EXCL|O_RDWR : O_RDWR;
116 return (dc_mkhndl(DEVCTL_BUS, devfs_path, oflags, NULL));
127 uint_t oflags; local
138 oflags = ((flags & DC_EXCL) != 0) ? O_EXCL|O_RDWR : O_RDWR;
139 return (dc_mkhndl(DEVCTL_DEVICE, devfs_path, oflags, NULL));
151 uint_t oflags; local
164 oflags = ((flags & DC_EXCL) != 0) ? O_EXCL : 0;
165 oflags |= ((flags & DC_RDONLY) != 0) ? O_RDONLY : O_RDWR;
167 return (dc_mkhndl(DEVCTL_AP, devfs_path, oflags, NUL
179 uint_t oflags; local
203 uint_t oflags; local
224 dc_mkhndl(dc_type_t type, char *path, uint_t oflags, devctl_hdl_t pc) argument
[all...]
/osnet-11/usr/src/lib/libexacct/common/
H A Dexacct_ops.c1048 ea_fdopen(ea_file_t *ef, int fd, const char *creator, int aflags, int oflags) argument
1053 f->ef_oflags = oflags;
1066 if (oflags & O_CREAT) {
1088 } else if (oflags & O_RDWR || oflags & O_WRONLY) {
1109 } else if (oflags != O_RDONLY) {
1158 int aflags, int oflags, mode_t mode)
1166 if (oflags & O_CREAT)
1167 oflags |= O_TRUNC;
1169 if ((fd = open(name, oflags, mod
1157 ea_open(ea_file_t *ef, const char *name, const char *creator, int aflags, int oflags, mode_t mode) argument
[all...]
/osnet-11/usr/src/lib/libdtrace_jni/common/
H A Ddtrace_jni.c515 int oflags = 0; local
555 oflags |= DTRACE_O_ILP32;
557 oflags |= DTRACE_O_LP64;
564 if ((oflags & DTRACE_O_ILP32) && (oflags & DTRACE_O_LP64)) {
591 if ((dtp = dtrace_open(DTRACE_VERSION, oflags, &err)) == NULL) {
/osnet-11/usr/src/lib/libelfsign/common/
H A Delfsignlib.c241 int oflags = 0; local
257 oflags = O_RDONLY | O_NOCTTY | O_NDELAY;
264 oflags = O_RDWR | O_NOCTTY | O_NDELAY;
292 if ((ess->es_fd = open(filename, oflags)) == -1) {
/osnet-11/usr/src/lib/libipadm/common/
H A Dlibipadm.c504 uint64_t oflags; local
509 status = i_ipadm_get_flags(iph, lifname, af, &oflags);
520 if (!(oflags & IFF_UP) && (set & IFF_UP))
538 if ((clear & IFF_UP) && (oflags & IFF_DUPLICATE) &&
550 if (!(oflags & IFF_NOFAILOVER)) {

Completed in 142 milliseconds

12