btscat.c 384 B

1234567891011121314151617181920212223
  1. /* $Id$ */
  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. #include "ack_string.h"
  9. char *
  10. btscat(b1, n1, b2, n2)
  11. char *b1;
  12. int n1;
  13. register char *b2;
  14. register int n2;
  15. {
  16. register char *b = b1 + n1;
  17. while (n2-- > 0)
  18. *b++ = *b2++;
  19. return b1;
  20. }