Update the changelog
[opencv] / apps / cvenv / include / string.h
1 #ifndef _STRINGH
2 #define _STRINGH
3
4 #pragma push_safeptr
5
6 #define _need_size_t
7 #define _need_NULL
8
9 #include "sys/stdtypes.h"
10
11 #undef _need_NULL
12 #undef _need_size_t
13
14 #ifndef _MEMCPY_
15 #define _MEMCPY_
16 void *memcpy(void * dst, const void * src, size_t n);
17 #endif
18
19 void *memmove(void * dst, const void * src , size_t n);
20 char *strcpy(char * dst, const char * src);
21 char *strdup(const char * dst);
22 char *strncpy(char * dst, const char * src, size_t n);
23 char *strcat(char * s1, const char * s2);
24 char *strncat(char * s1, const char *s2, size_t n);
25 int memcmp(const void * s1, const void * s2, size_t n);
26 int strcmp(const char * s1, const char * s2);
27 int strcoll(const char * s1, const char * s2);
28 int strncmp(const char * s1, const char *s2, size_t n);
29 size_t strxfrm(char *dst, const char * src, size_t n);
30 void *memchr(const void *s, int c, size_t n);
31 char *strchr(const char *s, int c);
32 size_t strcspn(const char *s, const char *reject);
33 char *strpbrk(const char *s, const char *accept);
34 char *strrchr(const char *s, int c);
35 size_t strspn(const char *s, const char *accept);
36 char *strstr(const char *haystack, const char *needle);
37 char *strtok(char *s, const char *delim);
38 void *memset(void *s, int c, size_t n);
39 char *strerror(int n);
40 size_t strlen(const char *s);
41
42
43 /* non standard stuff */
44 char * strrev(char * s);
45
46 #if defined(_SUNOS) && !defined(_EiC)
47 void bcopy(char *from, char *to, int length);
48 #define memmove(x,y,z)  bcopy((y),(x),(z))
49 #endif
50
51
52 #pragma pop_ptr
53
54 #endif /* _STRINGH */
55
56
57
58
59
60
61