newlib-cygwin/newlib/libc/sys/linux/intl/lcl_stpcpy.c

11 lines
152 B
C

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