2006-09-07 16:14:53 +02:00
|
|
|
#ifndef string_h
|
|
|
|
#define string_h
|
2016-05-19 14:15:22 +02:00
|
|
|
typedef unsigned int size_t;
|
|
|
|
|
|
|
|
|
|
|
|
extern void* memchr(const void*,int,size_t);
|
2020-05-19 13:02:39 +02:00
|
|
|
extern void* memrchr(const void*,int,size_t);
|
2016-05-19 14:15:22 +02:00
|
|
|
extern int memcmp(const void*,const void*,size_t);
|
|
|
|
extern void* memcpy(void*,const void*,size_t);
|
|
|
|
extern void* memmove(void*,const void*,size_t);
|
|
|
|
extern void* memset(void*,int,size_t);
|
2006-09-07 16:14:53 +02:00
|
|
|
extern char* strcat(char*,const char*);
|
|
|
|
extern char* strchr(const char*,int);
|
|
|
|
extern int strcmp(const char*,const char*);
|
|
|
|
extern int strcoll(const char*,const char*);
|
|
|
|
extern char* strcpy(char*,const char*);
|
2016-05-19 14:15:22 +02:00
|
|
|
extern size_t strcspn(const char*,const char*);
|
2006-09-07 16:14:53 +02:00
|
|
|
extern int strlen(const char*);
|
2016-05-19 14:15:22 +02:00
|
|
|
extern char* strncat(char*,const char*,size_t);
|
|
|
|
extern int strncmp(const char*,const char*,size_t);
|
|
|
|
extern char* strncpy(char*,const char*,size_t);
|
2006-09-07 16:14:53 +02:00
|
|
|
extern char* strpbrk(const char*,const char*);
|
|
|
|
extern char* strrchr(const char*,int);
|
2016-05-19 14:15:22 +02:00
|
|
|
extern size_t strspn(const char*,const char*);
|
2006-09-07 16:14:53 +02:00
|
|
|
extern char* strstr(const char*,const char*);
|
|
|
|
extern char* strtok(char*,const char*);
|
|
|
|
extern int strxfrm(char*,const char*,int);
|
|
|
|
extern char* strdup(const char*);
|
2016-04-30 15:50:04 +02:00
|
|
|
extern char* strrev(char *p);
|
2016-05-19 14:15:22 +02:00
|
|
|
char * strerror ( int errnum );
|
|
|
|
|
|
|
|
#ifndef NULL
|
|
|
|
# define NULL ((void*)0)
|
|
|
|
#endif
|
|
|
|
|
2007-07-01 14:01:40 +02:00
|
|
|
#endif
|