CoolPotOS/apps/include/string.h

31 lines
1.1 KiB
C

#ifndef CRASHPOWEROS_STRING_H
#define CRASHPOWEROS_STRING_H
#include "ctype.h"
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);
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);
const char* strstr(const char *str1,const char *str2);
char *strdup(const char *str);
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);
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);
int strncmp(const char *s1, const char *s2, size_t n);
#endif