mirror of
https://github.com/zeldaret/st
synced 2026-06-19 15:40:35 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user