Subversion Repositories Kolibri OS

Rev

Rev 9811 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9811 Rev 9812
Line 1... Line 1...
1
#ifndef _STRING_H_
1
#ifndef _STRING_H_
2
#define _STRING_H_
2
#define _STRING_H_
Line 3... Line 3...
3
 
3
 
Line 4... Line 4...
4
#include 
4
#include 
Line 5... Line 5...
5
 
5
 
6
extern void* _FUNC(memccpy)(void* restrict dest, const void* restrict src, int c, size_t n);
6
DLLAPI void* memccpy(void* restrict dest, const void* restrict src, int c, size_t n);
7
 
7
 
8
#ifdef __TINYC__
8
#ifdef __TINYC__
9
extern void* memcpy(void* s1, const void* s2, size_t n);
9
extern void* memcpy(void* s1, const void* s2, size_t n);
10
extern void* memset(void* s, int c, size_t n);
10
extern void* memset(void* s, int c, size_t n);
11
extern void* memmove(void* s1, const void* s2, size_t n);
11
extern void* memmove(void* s1, const void* s2, size_t n);
12
#else
12
#else
13
extern void* _FUNC(memcpy)(void* s1, const void* s2, size_t n);
13
DLLAPI void* memcpy(void* s1, const void* s2, size_t n);
Line 14... Line 14...
14
extern void* _FUNC(memset)(void* s, int c, size_t n);
14
DLLAPI void* memset(void* s, int c, size_t n);
15
extern void* _FUNC(memmove)(void* s1, const void* s2, size_t n);
15
DLLAPI void* memmove(void* s1, const void* s2, size_t n);
16
#endif
16
#endif
17
 
17
 
18
extern char* _FUNC(strcpy)(char* s1, const char* s2);
18
DLLAPI char* strcpy(char* s1, const char* s2);
19
extern char* _FUNC(strncpy)(char* s1, const char* s2, size_t n);
19
DLLAPI char* strncpy(char* s1, const char* s2, size_t n);
20
extern char* _FUNC(strcat)(char* s1, const char* s2);
20
DLLAPI char* strcat(char* s1, const char* s2);
21
extern char* _FUNC(strncat)(char* s1, const char* s2, size_t n);
21
DLLAPI char* strncat(char* s1, const char* s2, size_t n);
22
extern int _FUNC(memcmp)(const void* s1, const void* s2, size_t n);
22
DLLAPI int memcmp(const void* s1, const void* s2, size_t n);
23
extern int _FUNC(strcmp)(const char* s1, const char* s2);
23
DLLAPI int strcmp(const char* s1, const char* s2);
24
extern int _FUNC(strcoll)(const char* s1, const char* s2);
24
DLLAPI int strcoll(const char* s1, const char* s2);
25
extern int _FUNC(strncmp)(const char* s1, const char* s2, size_t n);
25
DLLAPI int strncmp(const char* s1, const char* s2, size_t n);
26
extern size_t _FUNC(strxfrm)(char* s1, const char* s2, size_t n);
26
DLLAPI size_t strxfrm(char* s1, const char* s2, size_t n);
27
extern void* _FUNC(memchr)(const void* s, int c, size_t n);
27
DLLAPI void* memchr(const void* s, int c, size_t n);
28
extern char* _FUNC(strchr)(const char* s, int c);
28
DLLAPI char* strchr(const char* s, int c);
29
extern size_t _FUNC(strcspn)(const char* s1, const char* s2);
29
DLLAPI size_t strcspn(const char* s1, const char* s2);
30
extern char* _FUNC(strpbrk)(const char* s1, const char* s2);
30
DLLAPI char* strpbrk(const char* s1, const char* s2);
31
extern char* _FUNC(strrchr)(const char* s, int c);
31
DLLAPI char* strrchr(const char* s, int c);
32
extern size_t _FUNC(strspn)(const char* s1, const char* s2);
32
DLLAPI size_t strspn(const char* s1, const char* s2);
33
extern char* _FUNC(strstr)(const char* s1, const char* s2);
33
DLLAPI char* strstr(const char* s1, const char* s2);
34
extern char* _FUNC(strtok)(char* s1, const char* s2);
34
DLLAPI char* strtok(char* s1, const char* s2);
Line 35... Line 35...
35
extern char* _FUNC(strerror)(int errnum);
35
DLLAPI char* strerror(int errnum);