Merge pull request #549 from DrDoof/fix/strcpy-definition

Bring back the definition of strcpy
This commit is contained in:
feelfree69 authored and GitHub committed 2026-10-04 21:50:09 +02:00
commit 957a5b0e23
1 file changed
+10
+10
View File
@@ -410,6 +410,16 @@ uint16_t strlen_x(__xdata const char *s)
}
uint16_t strcpy(__xdata uint8_t *dst, const char *s)
{
__xdata uint8_t *b = dst;
while (*s)
*dst++ = *s++;
*dst = 0;
return dst - b;
}
char strcmp(__xdata const uint8_t *a, __code const uint8_t *b)
{
uint8_t i = 0;