ack/modules/src/string/btscpy.c

19 lines
352 B
C
Raw Normal View History

1994-06-24 11:31:16 +00:00
/* $Id$ */
1987-03-09 15:15:03 +00:00
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
1987-01-06 11:41:50 +00:00
/* btscpy()
*/
1993-11-10 12:09:49 +00:00
#include "ack_string.h"
char *btscpy(register char *b1, register char *b2, register int n)
1987-01-06 11:41:50 +00:00
{
char *b1s = b1;
while (n-- > 0)
*b1++ = *b2++;
return b1s;
}