1: /*
   2:  *	"@(#)s_cat.c	1.1"
   3:  */
   4: 
   5: s_cat(lp, rpp, rnp, np, ll)
   6: char *lp, *rpp[];
   7: long int rnp[], *np, ll;
   8: {
   9: int i, n, nc;
  10: char *rp;
  11: 
  12: n = *np;
  13: for(i = 0 ; i < n ; ++i)
  14:     {
  15:     nc = ll;
  16:     if(rnp[i] < nc)
  17:         nc = rnp[i];
  18:     ll -= nc;
  19:     rp = rpp[i];
  20:     while(--nc >= 0)
  21:         *lp++ = *rp++;
  22:     }
  23: while(--ll >= 0)
  24:     *lp++ = ' ';
  25: }

Defined functions

s_cat defined in line 5; never used
Last modified: 1983-05-20
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 258
Valid CSS Valid XHTML 1.0 Strict