ack/lang/cem/cemcom.ansi/stb.c
carl 750a6bc684 Better ANSI C compatibility and portability:
+ Addition of function prototypes and include files.
+ Change function definitions to ANSI C style.
+ Initial support for CMake
+ Scripts to generate compiler header is now sed based.
2019-02-19 00:54:23 +08:00

16 lines
334 B
C

/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
/* $Id$ */
/* library routine for copying structs */
void __stb(register int n, register char *f, register char *t)
{
if (n > 0)
do
*t++ = *f++;
while (--n);
}