1
0
mirror of https://github.com/cc65/cc65.git synced 2025-02-18 15:30:30 +00:00
cc65/libsrc/common/stpcpy.c
Sven Michael Klose 581b79e0b9 Add stpcpy().
Like strcpy() but returning pointer to ending zero of copied string.
2024-07-07 14:04:49 +02:00

9 lines
137 B
C

#include <string.h>
char * __fastcall__
stpcpy (char * dst, const char * src)
{
strcpy (dst, src);
return dst + strlen (src);
}