ack/modules/src/string/btscpy.c

19 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(register char *b1, register char *b2, register int n)
{
char *b1s = b1;
while (n-- > 0)
*b1++ = *b2++;
return b1s;
}