feat(userspace/libc): implement strcpy function

Add strcpy implementation in string.c

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
2025-02-14 20:07:20 +02:00
parent c688bd7a97
commit 6dfefc90c4
2 changed files with 10 additions and 2 deletions

View File

@ -40,7 +40,7 @@ extern "C"
int strcmp(const char *s1, const char *s2);
int strcoll(const char *s1, const char *s2);
int strcoll_l(const char *, const char *, locale_t);
char *strcpy(char *restrict, const char *restrict);
char *strcpy(char *restrict s1, const char *restrict s2);
size_t strcspn(const char *s1, const char *s2);
char *strdup(const char *);
char *strerror(int);