2022-03-19 23:44:14 -04:00
|
|
|
#ifndef MSL_STRING_H_
|
|
|
|
|
#define MSL_STRING_H_
|
|
|
|
|
|
2023-04-21 02:02:03 -07:00
|
|
|
#include "MSL_C/MSL_Common/Src/stddef.h"
|
2023-01-02 21:28:46 -08:00
|
|
|
|
2022-03-19 23:44:14 -04:00
|
|
|
|
2022-03-20 00:01:24 -04:00
|
|
|
// TODO: move to MSL_C/
|
2022-03-19 23:44:14 -04:00
|
|
|
extern "C" {
|
2023-04-21 02:02:03 -07:00
|
|
|
void memcpy(void*, const void*, size_t);
|
|
|
|
|
void* memset(void* dest, int ch, size_t count);
|
2022-03-19 23:44:14 -04:00
|
|
|
char* strrchr(const char* s, int c);
|
|
|
|
|
char* strchr(const char* s, int c);
|
2023-04-21 02:02:03 -07:00
|
|
|
int strncmp(const char* s1, const char* s2, size_t n);
|
2022-03-19 23:44:14 -04:00
|
|
|
int strcmp(const char* s1, const char* s2);
|
|
|
|
|
int stricmp(const char*, const char*);
|
|
|
|
|
char* strcat(char* dest, const char* source);
|
2023-04-21 02:02:03 -07:00
|
|
|
char* strncpy(char* dest, const char* source, size_t n);
|
2022-03-19 23:44:14 -04:00
|
|
|
char* strcpy(char* dest, const char* source);
|
2023-04-21 02:02:03 -07:00
|
|
|
size_t strlen(const char* s);
|
2022-03-19 23:44:14 -04:00
|
|
|
int tolower(int);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|