Searched refs:fpin (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;
142 if (!(fpin=sfopen((Sfio_t*)0,infile,"r")))
144 else if(fstat(sffileno(fpin),&statb) < 0)
162 if(!(hp = huffinit(fpin,(Sfoff_t)-1)))
164 else if(sfseek(fpin,(Sfoff_t)0,0) < 0)
170 else if(huffencode(hp,fpin,fpout,SF_UNBOUND)<0)
188 if(fpin)
189 sfclose(fpin);
H A Dunpack.c93 Sfio_t *fpin,*fpout,*iop; local
143 fpin = fpout = (Sfio_t*)0;
148 if(!(fpin=sfopen((Sfio_t*)0,infile,"r")))
157 if(fstat(sffileno(fpin),&statb) < 0)
178 if(!(hp = huffgethdr(fpin)))
180 else if(huffdecode(hp,fpin,fpout,SF_UNBOUND)<0)
197 if(fpin)
198 sfclose(fpin);
/ast/src/lib/libcmd/
H A Duniq.c251 Sfio_t *fpin, *fpout; local
317 if(!(fpin = sfopen(NiL,cp,"r")))
321 fpin = sfstdin;
335 error_info.errors = uniq(fpin,fpout,fields,chars,width,mode,all,compare);
336 if(fpin!=sfstdin)
337 sfclose(fpin);

Completed in 11 milliseconds