/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | comm.c | 129 if(cp1 && in1==sfstdin) in comm() 183 f1 = sfstdin; in b_comm() 188 f2 = sfstdin; in b_comm() 196 else if(f1==sfstdin || f2==sfstdin) in b_comm() 197 sfseek(sfstdin,(Sfoff_t)0,SEEK_END); in b_comm() 198 if(f1!=sfstdin) in b_comm() 200 if(f2!=sfstdin) in b_comm()
|
H A D | join.c | 169 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() 801 if (cp1 && jp->file[n].iop == sfstdin) in join() 802 sfseek(sfstdin, (Sfoff_t)0, SEEK_END); in join() 936 if (sfseek(sfstdin,(Sfoff_t)0,SEEK_CUR) < 0) in b_join() 938 if (sfdcseekable(sfstdin)) in b_join() 943 jp->file[0].iop = sfstdin; in b_join() 953 if (sfseek(sfstdin,(Sfoff_t)0,SEEK_CUR) < 0) in b_join() 955 if (sfdcseekable(sfstdin)) in b_join() 960 jp->file[1].iop = sfstdin; in b_join() [all …]
|
H A D | tail.c | 279 if (tp->sp == sfstdin) in init() 287 tp->sp = sfstdin; in init() 330 pipetail(tp->sp ? tp->sp : sfstdin, op, number, delim); in init() 352 if (tp->sp != sfstdin) in init() 721 if (fp->sp && fp->sp != sfstdin) in b_tail() 738 if (fp->sp && fp->sp != sfstdin) in b_tail() 750 ip = sfstdin; in b_tail() 798 if (ip != sfstdin) in b_tail()
|
H A D | cmp.c | 333 f1 = sfstdin; in b_cmp() 341 f2 = sfstdin; in b_cmp() 394 if (f1 && f1 != sfstdin) in b_cmp() 396 if (f2 && f2 != sfstdin) in b_cmp()
|
H A D | paste.c | 263 fp = sfstdin; in b_paste() 270 if(fp!=sfstdin) in b_paste() 281 if((fp=streams[n]) && fp!=sfstdin) in b_paste()
|
H A D | head.c | 130 fp = sfstdin; in b_head() 152 if (fp != sfstdin) in b_head()
|
H A D | rev.c | 150 fp = sfstdin; in b_rev() 161 if(fp!=sfstdin) in b_rev()
|
H A D | wc.c | 157 fp = sfstdin; in b_wc() 173 if (fp!=sfstdin) in b_wc()
|
H A D | tee.c | 198 …if ((sfmove(sfstdin, sfstdout, SF_UNBOUND, -1) < 0 || !sfeof(sfstdin)) && !ERROR_PIPE(errno) && er… in b_tee()
|
H A D | fold.c | 227 fp = sfstdin; in b_fold() 235 if(fp!=sfstdin) in b_fold()
|
H A D | cksum.c | 155 sp = sfstdin; in openfile() 170 return sp == sfstdin ? 0 : sfclose(sp); in closefile() 246 if (ip != sfstdin) in pr() 591 pr(&state, sfstdout, sfstdin, "/dev/stdin", state.permissions, NiL, state.check); in b_cksum()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/ |
H A D | sfdcmore.c | 213 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;
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfextern.c | 34 (void)vtmtxopen(sfstdin->mutex, VT_INIT); in _sfoncef() 85 #undef sfstdin 89 Sfio_t* sfstdin = &_Sfstdin; variable 97 __EXTERN__(Sfio_t*,sfstdin);
|
H A D | sfwalk.c | 43 if(sfstdin->mode & SF_INIT) 44 _sfmode(sfstdin, (sfstdin->mode & SF_RDWR), 0);
|
H A D | sfnew.c | 53 { if(f != sfstdin && f != sfstdout && f != sfstderr) 86 { f = file == 0 ? sfstdin : file == 1 ? sfstdout : sfstderr;
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/ |
H A D | astquery.c | 63 if (isatty(sffileno(sfstdin))) in astquery() 64 rfp = sfstdin; in astquery() 81 ip = sfstdin; in astquery()
|
H A D | astdynamic.c | 45 #undef sfstdin 70 sfstdin = sp; in _ast_libinit()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | recfmt.c | 154 if (!(s = sfreserve(sfstdin, SF_UNBOUND, 0))) in main() 159 size = sfvalue(sfstdin); in main() 160 total = sfsize(sfstdin); in main()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/stdio/ |
H A D | fgetws.c | 48 FWIDE(sfstdin, 0); in getws() 49 while (p < e && (c = fgetwc(sfstdin)) != WEOF && (*p++ = c) != '\n'); in getws()
|
H A D | getwchar.c | 30 return fgetwc(sfstdin); in getwchar()
|
H A D | getchar.c | 37 return sfgetc(sfstdin);
|
H A D | vscanf.c | 29 return sfvscanf(sfstdin, fmt, args); in vscanf()
|
H A D | vwscanf.c | 29 return vfwscanf(sfstdin, fmt, args); in vwscanf()
|
H A D | _stdscanf.c | 35 v = sfvscanf(sfstdin, fmt, args); in _stdscanf()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | shcomp.c | 109 in = sfstdin; in main() 172 if(in!=sfstdin) in main()
|