Lines Matching refs:outfile
173 register Sfio_t *outfile; in b_print() local
311 if(!(outfile=shp->sftable[fd])) in b_print()
315 shp->sftable[fd] = outfile = sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fd,n); in b_print()
317 sfpool(outfile,shp->outpool,SF_WRITE); in b_print()
320 n = sfset(outfile,SF_SHARE|SF_PUBLIC,0); in b_print()
338 sfprintf(outfile,"%!",&pdata); in b_print()
341 sfwrite(outfile,stakptr(staktell()),pdata.argsize); in b_print()
342 if(sffileno(outfile)!=sffileno(sfstderr)) in b_print()
343 sfsync(outfile); in b_print()
351 fmtbase64(outfile,*argv++,vflag=='C'); in b_print()
353 sfputc(outfile,'\n'); in b_print()
361 else if(sh_echolist(shp,outfile,rflag,argv) && !nflag) in b_print()
362 sfputc(outfile,'\n'); in b_print()
371 sfset(outfile,SF_SHARE|SF_PUBLIC,1); in b_print()
372 sfsync(outfile); in b_print()
383 int sh_echolist(Shell_t *shp,Sfio_t *outfile, int raw, char *argv[]) in sh_echolist() argument
395 sfwrite(outfile,stakptr(staktell()),n); in sh_echolist()
398 sfputr(outfile,cp,-1); in sh_echolist()
400 sfputc(outfile,' '); in sh_echolist()