Searched refs:streams (Results 1 - 3 of 3) sorted by relevance

/ast/src/lib/libcmd/
H A Dpaste.c81 * paste the lines of the <nstreams> defined in <streams> and put results
85 static int paste(int nstream,Sfio_t* streams[],Sfio_t *out, register const char *delim, int dsiz, int dlen, Delim_t* mp) argument
95 if(fp=streams[n])
125 streams[n] = 0;
138 else if(n==nstream && !streams[n-1] && more)
178 register Sfio_t *fp, **streams; local
256 if (!(streams = (Sfio_t**)stakalloc(n*sizeof(Sfio_t*))))
274 streams[n++] = fp;
278 if(error_info.errors==0 && paste(n,streams,sfstdout,delim,dsiz,dlen,mp) < 0)
281 if((fp=streams[
[all...]
/ast/src/cmd/builtin/
H A Dpr.c108 Sfio_t **streams; member in struct:_pr_
488 if(pp->streams)
491 fp = *pp->streams;
502 else if(pp->streams)
508 pp->streams[nstream] = 0;
523 if(pp->streams)
527 fp = pp->streams[nstream];
878 if(pp->streams)
879 pp->streams[n++] = fp;
893 pp->streams
[all...]
/ast/src/cmd/INIT/
H A Dmamake.c242 Stream_t streams[4]; /* input file stream stack */ member in struct:__anon22
1056 if (state.sp == state.streams)
1075 state.sp = state.streams;
1076 else if (++state.sp >= &state.streams[elementsof(state.streams)])

Completed in 17 milliseconds