| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
#ifndef ___iprt_nocrt_string_h |
|---|
| 31 |
#define ___iprt_nocrt_string_h |
|---|
| 32 |
|
|---|
| 33 |
#include <iprt/types.h> |
|---|
| 34 |
|
|---|
| 35 |
__BEGIN_DECLS |
|---|
| 36 |
|
|---|
| 37 |
void * RT_NOCRT(memchr)(const void *pv, int ch, size_t cb); |
|---|
| 38 |
int RT_NOCRT(memcmp)(const void *pv1, const void *pv2, size_t cb); |
|---|
| 39 |
void * RT_NOCRT(memcpy)(void *pvDst, const void *pvSrc, size_t cb); |
|---|
| 40 |
void * RT_NOCRT(mempcpy)(void *pvDst, const void *pvSrc, size_t cb); |
|---|
| 41 |
void * RT_NOCRT(memmove)(void *pvDst, const void *pvSrc, size_t cb); |
|---|
| 42 |
void * RT_NOCRT(memset)(void *pvDst, int ch, size_t cb); |
|---|
| 43 |
|
|---|
| 44 |
char * RT_NOCRT(strcat)(char *pszDst, const char *pszSrc); |
|---|
| 45 |
char * RT_NOCRT(strncat)(char *pszDst, const char *pszSrc, size_t cch); |
|---|
| 46 |
char * RT_NOCRT(strchr)(const char *psz, int ch); |
|---|
| 47 |
int RT_NOCRT(strcmp)(const char *psz1, const char *psz2); |
|---|
| 48 |
int RT_NOCRT(strncmp)(const char *psz1, const char *psz2, size_t cch); |
|---|
| 49 |
int RT_NOCRT(stricmp)(const char *psz1, const char *psz2); |
|---|
| 50 |
int RT_NOCRT(strnicmp)(const char *psz1, const char *psz2, size_t cch); |
|---|
| 51 |
char * RT_NOCRT(strcpy)(char *pszDst, const char *pszSrc); |
|---|
| 52 |
char * RT_NOCRT(strncpy)(char *pszDst, const char *pszSrc, size_t cch); |
|---|
| 53 |
char * RT_NOCRT(strcat)(char *pszDst, const char *pszSrc); |
|---|
| 54 |
char * RT_NOCRT(strncat)(char *pszDst, const char *pszSrc, size_t cch); |
|---|
| 55 |
size_t RT_NOCRT(strlen)(const char *psz); |
|---|
| 56 |
size_t RT_NOCRT(strnlen)(const char *psz, size_t cch); |
|---|
| 57 |
char * RT_NOCRT(strstr)(const char *psz, const char *pszSub); |
|---|
| 58 |
|
|---|
| 59 |
#if !defined(RT_WITHOUT_NOCRT_WRAPPERS) && !defined(RT_WITHOUT_NOCRT_WRAPPER_ALIASES) |
|---|
| 60 |
# define memchr RT_NOCRT(memchr) |
|---|
| 61 |
# define memcmp RT_NOCRT(memcmp) |
|---|
| 62 |
# define memcpy RT_NOCRT(memcpy) |
|---|
| 63 |
# define mempcpy RT_NOCRT(mempcpy) |
|---|
| 64 |
# define memmove RT_NOCRT(memmove) |
|---|
| 65 |
# define memset RT_NOCRT(memset) |
|---|
| 66 |
# define strcat RT_NOCRT(strcat) |
|---|
| 67 |
# define strncat RT_NOCRT(strncat) |
|---|
| 68 |
# define strchr RT_NOCRT(strchr) |
|---|
| 69 |
# define strcmp RT_NOCRT(strcmp) |
|---|
| 70 |
# define strncmp RT_NOCRT(strncmp) |
|---|
| 71 |
# define stricmp RT_NOCRT(stricmp) |
|---|
| 72 |
# define strnicmp RT_NOCRT(strnicmp) |
|---|
| 73 |
# define strcpy RT_NOCRT(strcpy) |
|---|
| 74 |
# define strncpy RT_NOCRT(strncpy) |
|---|
| 75 |
# define strcat RT_NOCRT(strcat) |
|---|
| 76 |
# define strncat RT_NOCRT(strncat) |
|---|
| 77 |
# define strlen RT_NOCRT(strlen) |
|---|
| 78 |
# define strnlen RT_NOCRT(strnlen) |
|---|
| 79 |
# define strstr RT_NOCRT(strstr) |
|---|
| 80 |
#endif |
|---|
| 81 |
|
|---|
| 82 |
__END_DECLS |
|---|
| 83 |
|
|---|
| 84 |
#endif |
|---|