/illumos-gate/usr/src/lib/libast/common/stdio/ |
H A D | getwchar.c | 29 return fgetwc(sfstdin);
|
H A D | getchar.c | 37 return sfgetc(sfstdin);
|
H A D | vscanf.c | 29 return sfvscanf(sfstdin, fmt, args);
|
H A D | vwscanf.c | 29 return vfwscanf(sfstdin, fmt, args);
|
H A D | _stdscanf.c | 35 v = sfvscanf(sfstdin, fmt, args);
|
H A D | scanf.c | 33 v = sfvscanf(sfstdin, fmt, args);
|
H A D | wscanf.c | 33 v = vfwscanf(sfstdin, fmt, args);
|
H A D | fgetws.c | 48 FWIDE(sfstdin, 0); 49 while (p < e && (c = fgetwc(sfstdin)) != WEOF && (*p++ = c) != '\n');
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfwalk.c | 43 if(sfstdin->mode & SF_INIT) 44 _sfmode(sfstdin, (sfstdin->mode & SF_RDWR), 0);
|
H A D | sfextern.c | 34 (void)vtmtxopen(sfstdin->mutex, VT_INIT); 89 #undef sfstdin macro 93 Sfio_t* sfstdin = &_Sfstdin; variable 101 __EXTERN__(Sfio_t*,sfstdin);
|
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/lib/libcmd/common/ |
H A D | comm.c | 129 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 D | head.c | 129 fp = sfstdin; 144 if (fp != sfstdin)
|
H A D | rev.c | 142 fp = sfstdin; 153 if(fp!=sfstdin)
|
H A D | wc.c | 157 fp = sfstdin; 173 if (fp!=sfstdin)
|
H A D | cmp.c | 225 f1 = sfstdin; 233 f2 = sfstdin; 286 if (f1 && f1 != sfstdin) sfclose(f1); 287 if (f2 && f2 != sfstdin) sfclose(f2);
|
H A D | join.c | 169 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 D | fold.c | 229 fp = sfstdin; 237 if(fp!=sfstdin)
|
H A D | tee.c | 196 if ((sfmove(sfstdin, sfstdout, SF_UNBOUND, -1) < 0 || !sfeof(sfstdin)) && errno != EPIPE)
|
/illumos-gate/usr/src/lib/libast/common/port/ |
H A D | astquery.c | 60 if (isatty(sffileno(sfstdin))) 61 rfp = sfstdin; 78 ip = sfstdin;
|
H A D | astdynamic.c | 45 #undef sfstdin macro 70 sfstdin = sp;
|
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppsym.c | 58 switch (c = sfgetc(sfstdin))
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | recfmt.c | 154 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 D | sfdcmore.c | 31 * 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 D | shcomp.c | 109 in = sfstdin; 172 if(in!=sfstdin)
|