2024-08-31 12:36:49 +08:00
|
|
|
#ifndef CRASHPOWEROS_STRING_H
|
|
|
|
#define CRASHPOWEROS_STRING_H
|
|
|
|
|
2024-09-01 16:43:58 +08:00
|
|
|
#include "ctype.h"
|
2024-08-31 12:36:49 +08:00
|
|
|
|
2024-09-01 14:56:38 +08:00
|
|
|
const char* memchr(const char* buf,char c,unsigned long long count);
|
|
|
|
void *memmove(void *dest, const void *src, size_t num);
|
|
|
|
void *memset(void *s, int c, size_t n);
|
|
|
|
int memcmp(const void *a_, const void *b_, uint32_t size);
|
|
|
|
|
|
|
|
void* memcpy(void* s, const void* ct, size_t n);
|
2024-08-31 12:36:49 +08:00
|
|
|
size_t strlen(const char *str);
|
|
|
|
int strcmp(const char *s1, const char *s2);
|
|
|
|
char *strcpy(char *dest, const char *src);
|
|
|
|
char *strcat(char *dest, const char *src);
|
2024-09-01 14:56:38 +08:00
|
|
|
const char* strstr(const char *str1,const char *str2);
|
|
|
|
char *strdup(const char *str);
|
2024-09-08 22:43:05 +08:00
|
|
|
char *strchr(const char *s, const char ch);
|
|
|
|
size_t strspn(const char * string,const char * control);
|
|
|
|
char* strpbrk(const char* str, const char* strCharSet);
|
|
|
|
int strcoll(const char *str1, const char *str2);
|
|
|
|
double strtod(const char *nptr, char **endptr);
|
2024-09-01 14:56:38 +08:00
|
|
|
|
|
|
|
char* strncat(char* dest,const char* src,unsigned long long count);
|
|
|
|
size_t strnlen(const char *s, size_t maxlen);
|
|
|
|
char* strncpy(char* dest, const char* src,unsigned long long count);
|
2024-09-08 22:43:05 +08:00
|
|
|
int strncmp(const char *s1, const char *s2, size_t n);
|
|
|
|
|
2024-08-31 12:36:49 +08:00
|
|
|
|
|
|
|
#endif
|