[SDK:CRT] Implement more string routines

This commit is contained in:
2024-08-08 16:41:45 -04:00
parent 120277161c
commit b57dcc8078
4 changed files with 176 additions and 0 deletions

View File

@@ -26,6 +26,10 @@ extern "C" {
size_t strlen(const char *str);
size_t strnlen(const char *str, size_t maxlen);
int strcmp(const char* s1, const char* s2);
int strncmp(const char* s1, const char* s2, size_t n);
char *strchr(const char *s, int c);
char *strstr(const char *haystack, const char *needle);
void *memset(void *dest, int c, size_t count);
void *memcpy(void *dest, const void *src, size_t count);