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

1234

/illumos-gate/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;
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfset.c38 reg int oflags; local
46 if((oflags = (f->mode&SF_RDWR)) != (int)f->mode && _sfmode(f,oflags,0) < 0)
55 oflags = f->flags;
66 f->flags |= (oflags&SF_RDWR);
88 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.c101 int sf_malloc, oflags, init, okmmap, local; local
172 oflags = f->flags;
345 sf_malloc = (oflags&SF_MALLOC);
382 if(obuf && obuf != f->data && osize > 0 && (oflags&SF_MALLOC))
/illumos-gate/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;
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dsignalfd.c28 int oflags = O_RDONLY; local
36 oflags |= O_NONBLOCK;
39 oflags |= O_CLOEXEC;
41 if ((fd = open("/dev/signalfd", oflags)) < 0)
H A Deventfd.c25 int oflags = O_RDWR; local
35 oflags |= O_NONBLOCK;
38 oflags |= O_CLOEXEC;
40 if ((fd = open("/dev/eventfd", oflags)) < 0)
H A Dtimerfd.c25 int oflags = O_RDWR; local
34 oflags |= O_NONBLOCK;
37 oflags |= O_CLOEXEC;
39 if ((fd = open("/dev/timerfd", oflags)) < 0)
H A Depoll.c96 int fd, oflags = O_RDWR; local
99 oflags |= O_CLOEXEC;
108 if ((fd = open("/dev/poll", oflags)) == -1)
/illumos-gate/usr/src/cmd/dumpadm/
H A Dminfree.c42 minfree_open(const char *dir, int oflags, const char *fmode) argument
49 if ((fd = open(path, oflags, S_IRUSR | S_IWUSR)) >= 0)
/illumos-gate/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...]
/illumos-gate/usr/src/cmd/gcore/
H A Dgcore.c154 int oflags = 0; local
181 oflags |= PGRAB_FORCE;
238 P = proc_arg_grab(argv[i], PR_ARG_PIDS, oflags, &gerr);
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_crypto.c135 uint16_t oflags; local
155 oflags = key->wk_flags;
198 key->wk_flags = oflags; /* restore old flags */
233 oflags = key->wk_flags;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_retr.c218 krb5_flags oflags = 0; local
225 kret = krb5_cc_get_flags(context, id, &oflags);
228 if (oflags & KRB5_TC_OPENCLOSE)
229 (void) krb5_cc_set_flags(context, id, oflags & ~KRB5_TC_OPENCLOSE);
232 if (oflags & KRB5_TC_OPENCLOSE)
233 krb5_cc_set_flags(context, id, oflags);
258 if (oflags & KRB5_TC_OPENCLOSE)
259 krb5_cc_set_flags(context, id, oflags);
270 if (oflags & KRB5_TC_OPENCLOSE)
271 krb5_cc_set_flags(context, id, oflags);
[all...]
/illumos-gate/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) {
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_rawfile.c418 int oflags, i; local
428 oflags = O_RDWR;
430 oflags = O_RDONLY;
433 io[i] = mdb_fdio_create_path(NULL, argv[i], oflags, 0);
H A Dmdb_set.c238 uint_t oflags = mdb_iob_getflags(mdb.m_out) & MDB_IOB_AUTOWRAP; local
245 mdb_iob_setflags(mdb.m_out, oflags);
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_test/
H A Dmdb_test.c304 uint_t oflags; local
307 oflags = mdb_iob_getflags(mdb.m_out) &
324 mdb_iob_setflags(mdb.m_out, oflags);

Completed in 120 milliseconds

1234