core: do aligned transfers in bcopy32
[syslinux.git] / com32 / lib / strcpy.c
blob8372eba50b638a50fcc1ce2ff7179cb8b7892876
1 /*
2 * strcpy.c
4 * strcpy()
5 */
7 #include <string.h>
9 char *strcpy(char *dst, const char *src)
11 char *q = dst;
12 const char *p = src;
13 char ch;
15 do {
16 *q++ = ch = *p++;
17 } while ( ch );
19 return dst;