source: vendor/gawk/3.1.5/missing_d/memcpy.c@ 3076

Last change on this file since 3076 was 3076, checked in by bird, 19 years ago

gawk 3.1.5

File size: 261 bytes
Line 
1/*
2 * memcpy --- copy strings.
3 *
4 * We supply this routine for those systems that aren't standard yet.
5 */
6
7char *
8memcpy (dest, src, l)
9register char *dest, *src;
10register int l;
11{
12 register char *ret = dest;
13
14 while (l--)
15 *dest++ = *src++;
16
17 return ret;
18}
Note: See TracBrowser for help on using the repository browser.