Home
last modified time | relevance | path

Searched refs:sfstdin (Results 1 – 25 of 67) sorted by relevance

123

/titanic_41/usr/src/lib/libcmd/common/
H A Dcomm.c129 if(cp1 && in1==sfstdin) in comm()
180 f1 = sfstdin; in b_comm()
185 f2 = sfstdin; in b_comm()
193 else if(f1==sfstdin || f2==sfstdin) in b_comm()
194 sfseek(sfstdin,(Sfoff_t)0,SEEK_END); in b_comm()
195 if(f1!=sfstdin) in b_comm()
197 if(f2!=sfstdin) in b_comm()
H A Djoin.c169 if (jp->file[0].iop && jp->file[0].iop != sfstdin) in done()
171 if (jp->file[1].iop && jp->file[1].iop != sfstdin) in done()
811 if (cp1 && jp->file[n].iop == sfstdin) in join()
812 sfseek(sfstdin, (Sfoff_t)0, SEEK_END); in join()
948 if (sfseek(sfstdin,(Sfoff_t)0,SEEK_CUR) < 0) in b_join()
950 if (sfdcseekable(sfstdin)) in b_join()
955 jp->file[0].iop = sfstdin; in b_join()
965 if (sfseek(sfstdin,(Sfoff_t)0,SEEK_CUR) < 0) in b_join()
967 if (sfdcseekable(sfstdin)) in b_join()
972 jp->file[1].iop = sfstdin; in b_join()
[all …]
H A Dcmp.c225 f1 = sfstdin; in b_cmp()
233 f2 = sfstdin; in b_cmp()
286 if (f1 && f1 != sfstdin) sfclose(f1); in b_cmp()
287 if (f2 && f2 != sfstdin) sfclose(f2); in b_cmp()
H A Dhead.c129 fp = sfstdin; in b_head()
144 if (fp != sfstdin) in b_head()
H A Dtail.c267 if (tp->sp == sfstdin) in init()
277 tp->sp = sfstdin; in init()
319 pipetail(tp->sp ? tp->sp : sfstdin, op, number, delim); in init()
341 if (tp->sp != sfstdin) in init()
697 if (fp->sp && fp->sp != sfstdin) in b_tail()
722 ip = sfstdin; in b_tail()
770 if (ip != sfstdin) in b_tail()
H A Drev.c142 fp = sfstdin; in b_rev()
153 if(fp!=sfstdin) in b_rev()
H A Dpaste.c254 fp = sfstdin; in b_paste()
261 if(fp!=sfstdin) in b_paste()
272 if((fp=streams[n]) && fp!=sfstdin) in b_paste()
H A Dwc.c157 fp = sfstdin; in b_wc()
173 if (fp!=sfstdin) in b_wc()
H A Dtee.c196 if ((sfmove(sfstdin, sfstdout, SF_UNBOUND, -1) < 0 || !sfeof(sfstdin)) && errno != EPIPE) in b_tee()
H A Dfold.c229 fp = sfstdin; in b_fold()
237 if(fp!=sfstdin) in b_fold()
/titanic_41/usr/src/lib/libast/common/disc/
H A Dsfdcmore.c213 r = ttyquery(sfstdin, f, more->prompt, dp);
219 if ((s = sfgetr(sfstdin, '\n', 1)) && (n = sfvalue(sfstdin) - 1) > 0)
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;
/titanic_41/usr/src/lib/libast/common/sfio/
H A Dsfextern.c34 (void)vtmtxopen(sfstdin->mutex, VT_INIT); in _sfoncef()
89 #undef sfstdin
93 Sfio_t* sfstdin = &_Sfstdin; variable
101 __EXTERN__(Sfio_t*,sfstdin);
H A Dsfwalk.c43 if(sfstdin->mode & SF_INIT)
44 _sfmode(sfstdin, (sfstdin->mode & SF_RDWR), 0);
H A Dsfnew.c53 { if(f != sfstdin && f != sfstdout && f != sfstderr)
86 { f = file == 0 ? sfstdin : file == 1 ? sfstdout : sfstderr;
/titanic_41/usr/src/lib/libast/common/port/
H A Dastquery.c60 if (isatty(sffileno(sfstdin))) in astquery()
61 rfp = sfstdin; in astquery()
78 ip = sfstdin; in astquery()
H A Dastdynamic.c45 #undef sfstdin
70 sfstdin = sp; in _ast_libinit()
/titanic_41/usr/src/lib/libast/common/stdio/
H A Dfgetws.c48 FWIDE(sfstdin, 0); in getws()
49 while (p < e && (c = fgetwc(sfstdin)) != WEOF && (*p++ = c) != '\n'); in getws()
H A Dgetwchar.c29 return fgetwc(sfstdin); in getwchar()
H A Dvscanf.c29 return sfvscanf(sfstdin, fmt, args); in vscanf()
H A Dgetchar.c37 return sfgetc(sfstdin);
H A Dvwscanf.c29 return vfwscanf(sfstdin, fmt, args); in vwscanf()
H A D_stdscanf.c35 v = sfvscanf(sfstdin, fmt, args); in _stdscanf()
H A Dscanf.c33 v = sfvscanf(sfstdin, fmt, args); in scanf()
/titanic_41/usr/src/lib/libast/common/misc/
H A Drecfmt.c154 if (!(s = sfreserve(sfstdin, SF_UNBOUND, 0))) in main()
159 size = sfvalue(sfstdin); in main()
160 total = sfsize(sfstdin); in main()
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dshcomp.c109 in = sfstdin; in main()
172 if(in!=sfstdin) in main()

123