Match MSL_C (#8)

* match wstring.c

* match math_api.c, mbstring.c, mem.c and mem_funcs.c

* more progress

* build issues

* fix non-matching issues

* reorganise files

* match fdlibm (+ libc progress)

* fix jp build

* solved some non-matchings and progress

* removed types.h usage in libc

* match data and add missing delinks for jp
This commit is contained in:
Yanis
2025-12-17 14:08:53 +01:00
committed by GitHub
parent c925fce03c
commit c98c03de39
78 changed files with 5281 additions and 295 deletions
+8 -3
View File
@@ -1,15 +1,20 @@
#ifndef _C_STRING_H
#define _C_STRING_H
#ifdef __cplusplus
extern "C" {
#endif
typedef unsigned int size_t;
size_t strlen(const char *str);
char *strcpy(char *dest, const char *src);
char *strncpy(char *dest, const char *src, size_t num);
char *strcat(char *dest, const char *src);
int strcmp(char *str1, char *str2);
int strncmp(char *str1, char *str2, size_t num);
const char *strchr(const char *str, char ch);
const char *strstr(const char *str1, const char *str2);
#ifdef __cplusplus
}
#endif
#endif