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

/ast/src/cmd/pack/
H A Dpack.c95 Sfio_t *fpin,*fpout; local
137 fpin = fpout = (Sfio_t*)0;
155 !(fpout = sfnew((Sfio_t*)0,(char*)0,SF_UNBOUND,out,SF_WRITE)))
166 else if((dsize = huffputhdr(hp,fpout)) < 0)
170 else if(huffencode(hp,fpin,fpout,SF_UNBOUND)<0)
190 if(fpout)
191 sfclose(fpout);
H A Dunpack.c93 Sfio_t *fpin,*fpout,*iop; local
143 fpin = fpout = (Sfio_t*)0;
154 fpout = sfstdout;
166 !((fpout = sfnew((Sfio_t*)0,(char*)0,SF_UNBOUND,out,SF_WRITE))))
180 else if(huffdecode(hp,fpin,fpout,SF_UNBOUND)<0)
199 if(fpout)
200 sfclose(fpout);
/ast/src/lib/libcmd/
H A Duniq.c251 Sfio_t *fpin, *fpout; local
325 if(!(fpout = sfopen(NiL,cp,"w")))
329 fpout = sfstdout;
335 error_info.errors = uniq(fpin,fpout,fields,chars,width,mode,all,compare);
338 if(fpout!=sfstdout)
339 sfclose(fpout);

Completed in 12 milliseconds