Rev 9811 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
8687 | turbocat | 1 | #ifndef _STRING_H_ |
2 | #define _STRING_H_ |
||
3 | |||
4 | #include |
||
5 | |||
9812 | Coldy | 6 | DLLAPI void* memccpy(void* restrict dest, const void* restrict src, int c, size_t n); |
8687 | turbocat | 7 | |
8718 | turbocat | 8 | #ifdef __TINYC__ |
9 | extern void* memcpy(void* s1, const void* s2, size_t n); |
||
10 | extern void* memset(void* s, int c, size_t n); |
||
8687 | turbocat | 11 | extern void* memmove(void* s1, const void* s2, size_t n); |
8718 | turbocat | 12 | #else |
9812 | Coldy | 13 | DLLAPI void* memcpy(void* s1, const void* s2, size_t n); |
14 | DLLAPI void* memset(void* s, int c, size_t n); |
||
15 | DLLAPI void* memmove(void* s1, const void* s2, size_t n); |
||
8718 | turbocat | 16 | #endif |
8687 | turbocat | 17 | |
9812 | Coldy | 18 | DLLAPI char* strcpy(char* s1, const char* s2); |
19 | DLLAPI char* strncpy(char* s1, const char* s2, size_t n); |
||
20 | DLLAPI char* strcat(char* s1, const char* s2); |
||
21 | DLLAPI char* strncat(char* s1, const char* s2, size_t n); |
||
22 | DLLAPI int memcmp(const void* s1, const void* s2, size_t n); |
||
23 | DLLAPI int strcmp(const char* s1, const char* s2); |
||
24 | DLLAPI int strcoll(const char* s1, const char* s2); |
||
25 | DLLAPI int strncmp(const char* s1, const char* s2, size_t n); |
||
26 | DLLAPI size_t strxfrm(char* s1, const char* s2, size_t n); |
||
27 | DLLAPI void* memchr(const void* s, int c, size_t n); |
||
28 | DLLAPI char* strchr(const char* s, int c); |
||
29 | DLLAPI size_t strcspn(const char* s1, const char* s2); |
||
30 | DLLAPI char* strpbrk(const char* s1, const char* s2); |
||
31 | DLLAPI char* strrchr(const char* s, int c); |
||
32 | DLLAPI size_t strspn(const char* s1, const char* s2); |
||
33 | DLLAPI char* strstr(const char* s1, const char* s2); |
||
34 | DLLAPI char* strtok(char* s1, const char* s2); |
||
35 | DLLAPI char* strerror(int errnum); |
||
36 | DLLAPI size_t strlen(const char* s); |
||
37 | DLLAPI char* strrev(char* str); |
||
38 | DLLAPI char* strdup(const char* str); |
||
8687 | turbocat | 39 | |
40 | #endif |