LibC: Implement most of missing functions from string.h

only strcoll*, strxfrm* and strerror_l are left unimplemented
This commit is contained in:
2024-02-14 03:41:52 +02:00
parent c18d926174
commit 81689b5f02
2 changed files with 173 additions and 9 deletions

View File

@@ -25,7 +25,7 @@ int strcmp(const char* s1, const char* s2);
int strcoll(const char* s1, const char* s2);
int strcoll_l(const char* s1, const char* s2, locale_t locale);
char* strcpy(char* __restrict s1, const char* __restrict s2);
size_t strcspn(const char* , const char* );
size_t strcspn(const char* s1, const char* s2);
char* strdup(const char* s);
char* strerror(int errnum);
char* strerror_l(int errnum, locale_t locale);