Retro68/gcc/newlib/libc/sys/linux/intl/lcl_stpcpy.c
Wolfgang Thaller ec13cc9ce7 fix newlib
2018-12-29 09:59:36 +01:00

11 lines
152 B
C

char *
__stpcpy (dest, src)
char *dest;
const char *src;
{
while ((*dest++ = *src++) != '\0')
/* Do nothing. */ ;
return dest - 1;
}