Searched refs:sfstdin (Results 1 - 25 of 58) sorted by relevance

123

/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dgetwchar.c29 return fgetwc(sfstdin);
H A Dgetchar.c37 return sfgetc(sfstdin);
H A Dvscanf.c29 return sfvscanf(sfstdin, fmt, args);
H A Dvwscanf.c29 return vfwscanf(sfstdin, fmt, args);
H A D_stdscanf.c35 v = sfvscanf(sfstdin, fmt, args);
H A Dscanf.c33 v = sfvscanf(sfstdin, fmt, args);
H A Dwscanf.c33 v = vfwscanf(sfstdin, fmt, args);
H A Dfgetws.c48 FWIDE(sfstdin, 0);
49 while (p < e && (c = fgetwc(sfstdin)) != WEOF && (*p++ = c) != '\n');
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfwalk.c43 if(sfstdin->mode & SF_INIT)
44 _sfmode(sfstdin, (sfstdin->mode & SF_RDWR), 0);
H A Dsfextern.c34 (void)vtmtxopen(sfstdin->mutex, VT_INIT);
89 #undef sfstdin macro
93 Sfio_t* sfstdin = &_Sfstdin; variable
101 __EXTERN__(Sfio_t*,sfstdin);
H A Dsfnew.c53 { if(f != sfstdin && f != sfstdout && f != sfstderr)
86 { f = file == 0 ? sfstdin : file == 1 ? sfstdout : sfstderr;
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcomm.c129 if(cp1 && in1==sfstdin)
180 f1 = sfstdin;
185 f2 = sfstdin;
193 else if(f1==sfstdin || f2==sfstdin)
194 sfseek(sfstdin,(Sfoff_t)0,SEEK_END);
195 if(f1!=sfstdin)
197 if(f2!=sfstdin)
H A Dhead.c129 fp = sfstdin;
144 if (fp != sfstdin)
H A Drev.c142 fp = sfstdin;
153 if(fp!=sfstdin)
H A Dwc.c157 fp = sfstdin;
173 if (fp!=sfstdin)
H A Dcmp.c225 f1 = sfstdin;
233 f2 = sfstdin;
286 if (f1 && f1 != sfstdin) sfclose(f1);
287 if (f2 && f2 != sfstdin) sfclose(f2);
H A Djoin.c169 if (jp->file[0].iop && jp->file[0].iop != sfstdin)
171 if (jp->file[1].iop && jp->file[1].iop != sfstdin)
811 if (cp1 && jp->file[n].iop == sfstdin)
812 sfseek(sfstdin, (Sfoff_t)0, SEEK_END);
948 if (sfseek(sfstdin,(Sfoff_t)0,SEEK_CUR) < 0)
950 if (sfdcseekable(sfstdin))
955 jp->file[0].iop = sfstdin;
965 if (sfseek(sfstdin,(Sfoff_t)0,SEEK_CUR) < 0)
967 if (sfdcseekable(sfstdin))
972 jp->file[1].iop = sfstdin;
[all...]
H A Dfold.c229 fp = sfstdin;
237 if(fp!=sfstdin)
H A Dtee.c196 if ((sfmove(sfstdin, sfstdout, SF_UNBOUND, -1) < 0 || !sfeof(sfstdin)) && errno != EPIPE)
/illumos-gate/usr/src/lib/libast/common/port/
H A Dastquery.c60 if (isatty(sffileno(sfstdin)))
61 rfp = sfstdin;
78 ip = sfstdin;
H A Dastdynamic.c45 #undef sfstdin macro
70 sfstdin = sp;
/illumos-gate/usr/src/lib/libpp/common/
H A Dppsym.c58 switch (c = sfgetc(sfstdin))
/illumos-gate/usr/src/lib/libast/common/misc/
H A Drecfmt.c154 if (!(s = sfreserve(sfstdin, SF_UNBOUND, 0)))
159 size = sfvalue(sfstdin);
160 total = sfsize(sfstdin);
/illumos-gate/usr/src/lib/libast/common/disc/
H A Dsfdcmore.c31 * if on sfstdout then sfstdin ops reset the page state
213 r = ttyquery(sfstdin, f, more->prompt, dp);
219 if ((s = sfgetr(sfstdin, '\n', 1)) && (n = sfvalue(sfstdin) - 1) > 0)
299 * if f==sfstdout then input on sfstdin also resets the state
319 if (!(sfset(f, 0, 0) & SF_WRITE) || !isatty(sffileno(sfstdin)) || !isatty(sffileno(sfstdout)))
335 astwinsize(sffileno(sfstdin), &rows, &cols);
354 if (sfdisc(sfstdin, &more->disc) != &more->disc)
359 more->input = sfstdin;
365 more->error = sfstdin;
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dshcomp.c109 in = sfstdin;
172 if(in!=sfstdin)

Completed in 322 milliseconds

123