30typedef std::string String;
40A_ALWAYS_INLINE
int strcasecmp(
const char* str1,
const char* str2)
42 return ::_stricmp(str1, str2);
50A_ALWAYS_INLINE
int strncasecmp(
const char* str1,
const char* str2,
size_t n)
52 return ::_strnicmp(str1, str2, n);
72A_ALWAYS_INLINE
int stricmp(
const char* str1,
const char* str2)
74 return ::strcasecmp(str1, str2);
82A_ALWAYS_INLINE
int strnicmp(
const char* str1,
const char* str2,
size_t n)
84 return ::strncasecmp(str1, str2, n);
89using posix::strcasecmp;
90using posix::strncasecmp;
A_ALWAYS_INLINE int stricmp(const char *str1, const char *str2)
比较两个字符串是否相等(不区分大小写)
定义 StringPosix.hpp:72
A_ALWAYS_INLINE int strnicmp(const char *str1, const char *str2, size_t n)
比较两个字符串是否相等(不区分大小写)
定义 StringPosix.hpp:82