Searched refs:fdout (Results 1 - 2 of 2) sorted by relevance
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | uniq.c | 85 static int uniq(Sfio_t *fdin, Sfio_t *fdout, int fields, int chars, int width, int mode, int* all, Compare_f compare) argument 164 sfwrite(fdout,outp,0); 198 sfwrite(fdout,outp,0); 203 sfprintf(fdout,"%4d ",count+1); 206 if(sfwrite(fdout,outp,outsize) != outsize) 215 if(sfwrite(fdout,outp,outsize) != outsize) 224 if (!(outbuff = sfreserve(fdout, 0, 0)) || (outsize = sfvalue(fdout)) < 0) 230 sfwrite(fdout,outp,0);
|
H A D | cut.c | 248 * cut each line of file <fdin> and put results to <fdout> using list <list> 252 cutcols(Cut_t* cut, Sfio_t* fdin, Sfio_t* fdout) argument 339 if (sfwrite(fdout, (char*)bp, c) < 0) 353 sfwrite(fdout, cut->ldelim.str, cut->ldelim.len); 355 sfputc(fdout, cut->ldelim.chr); 361 * cut each line of file <fdin> and put results to <fdout> using list <list> 366 cutfields(Cut_t* cut, Sfio_t* fdin, Sfio_t* fdout) argument 435 if ((c = cp - copy) > 0 && sfwrite(fdout, (char*)copy, c) < 0) 464 if (sfwrite(fdout, (char*)mb, c) < 0) 522 if ((c = wp - copy) > 0 && sfwrite(fdout, (cha [all...] |
Completed in 44 milliseconds