Searched refs:oflags (Results 1 - 25 of 105) sorted by relevance

12345

/illumos-gate/usr/src/cmd/troff/troff.d/
H A Dtroff.sh36 oflags= newargs=
46 oflags=$oflags$i ;;
47 -b|-k*|-p*|-g|-w) oflags=$i$oflags ;;
59 if [ "-b" = "$oflags" ]
64 if [ -n "$oflags" ]
/illumos-gate/usr/src/lib/libast/common/sfio/
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 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));
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_oflags.c30 __db_oflags(oflags)
31 int oflags;
42 if (oflags & O_CREAT)
44 if (!(oflags & (O_RDWR | O_WRONLY)) || oflags & O_RDONLY)
46 if (oflags & O_TRUNC)
/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)
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwaddnstr.c57 short oflags; local
66 oflags = w->_flags & (W_FLUSH | W_SYNC_UP);
75 w->_flags |= oflags;
H A Dwaddnws.c56 short oflags; local
65 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/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/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 Dwinsnstr.c54 short oflags; local
69 oflags = w->_flags & (W_FLUSH | W_SYNC_UP);
78 w->_flags |= oflags;
H A Dwbrdr_st.c57 short oflags; local
71 oflags = w->_flags & (W_FLUSH | W_SYNC_UP);
86 w->_flags |= oflags;
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Ddynamic_machelf.c58 arg->oflags = arg->rflags = flags;
77 conv_arg.oflags = conv_arg.rflags = flags;
100 conv_arg.oflags = conv_arg.rflags = flags;
120 conv_arg.oflags = conv_arg.rflags = flags;
H A Daudit.c69 conv_arg.oflags = conv_arg.rflags = bind;
122 conv_arg.oflags = conv_arg.rflags = search;
198 conv_arg.oflags = conv_arg.rflags = symbind;
H A Dentry.c72 conv_arg.oflags = conv_arg.rflags = flags;
135 conv_arg.oflags = conv_arg.rflags = flags;
H A Dgroup.c79 conv_arg.oflags = conv_arg.rflags = flags;
132 conv_arg.oflags = conv_arg.rflags = flags;
/illumos-gate/usr/src/boot/sys/sys/
H A Dfcntl.h69 * are inter-convertible using OFLAGS(fflags) and FFLAGS(oflags).
149 #define FFLAGS(oflags) ((oflags) & O_EXEC ? (oflags) : (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/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/cmd/mdb/common/modules/genunix/
H A Dthread.c391 uint_t oflags = 0; local
406 } else if (!(oflags & TF_MERGE)) { \
420 'i', MDB_OPT_SETBITS, TF_INTR, &oflags,
421 'p', MDB_OPT_SETBITS, TF_PROC, &oflags,
422 'b', MDB_OPT_SETBITS, TF_BLOCK, &oflags,
423 's', MDB_OPT_SETBITS, TF_SIG, &oflags,
424 'd', MDB_OPT_SETBITS, TF_DISP, &oflags,
425 'm', MDB_OPT_SETBITS, TF_MERGE, &oflags, NULL) != argc)
431 if (!(oflags & ~TF_MERGE))
433 oflags
[all...]

Completed in 123 milliseconds

12345