btscat.c 363 B

123456789101112131415161718192021
  1. /* $Header$ */
  2. /*
  3. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  4. * See the copyright notice in the ACK home directory, in the file "Copyright".
  5. */
  6. /* btscat()
  7. */
  8. char *
  9. btscat(b1, n1, b2, n2)
  10. char *b1;
  11. int n1;
  12. register char *b2;
  13. register int n2;
  14. {
  15. register char *b = b1 + n1;
  16. while (n2-- > 0)
  17. *b++ = *b2++;
  18. return b1;
  19. }