ack/modules/src/string/btscpy.c
1994-06-24 11:31:16 +00:00

21 lines
352 B
C

/* $Id$ */
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
/* btscpy()
*/
#include "ack_string.h"
char *
btscpy(b1, b2, n)
register char *b1, *b2;
register int n;
{
char *b1s = b1;
while (n-- > 0)
*b1++ = *b2++;
return b1s;
}