kal_wstrcmp

MTK中的字元串比較函式,,主要用於unicode編碼格式的字串比較,,MTK中的kal_wstrcpy、kal_wstrcat等函式也是這樣。

基本介紹

  • 中文名:kal_wstrcmp
  • 位元組:寬
  • 主要用於:unicode編碼格式
  • 用法:和strcmp相同
檔案:kal_release.h
typedef unsigned short WCHAR;
// 16bits string operationsint kal_wstrlen(const WCHAR *wstr);
WCHAR *kal_wstrcpy(WCHAR *to, const WCHAR *from);
WCHAR *kal_wstrncpy(WCHAR *to, const WCHAR *from, int n);
int kal_wstrcmp(const WCHAR *s1, const WCHAR *s2);
int kal_wstrncmp(const WCHAR *s1, const WCHAR *s2, int n);
WCHAR *kal_wstrcat(WCHAR *s1, const WCHAR *s2);
WCHAR *kal_wstrncat(WCHAR *s1, const WCHAR *s2, int n);
WCHAR *kal_wstrchr(const WCHAR *s, int c);
WCHAR *kal_wstrrchr(const WCHAR *str, int ch);
// dual 8bits string operationsint kal_dchar_strlen(const char *wstr);
char *kal_dchar_strcpy(char *to, const char *from);
char *kal_dchar_strncpy(char *to, const char *from, int n);
int kal_dchar_strcmp(const char *s1, const char *s2);
int kal_dchar_strncmp(const char *s1, const char *s2, int n);
char *kal_dchar_strcat(char *s1, const char *s2);
char *kal_dchar_strncat(char *s1, const char *s2, int n);
char *kal_dchar_strchr(const char *s, int c);
char *kal_dchar_strrchr(const char *str, int ch);
void kal_dchar2char(WCHAR *outstr, char* tostr);
void kal_wsprintf(WCHAR *outstr, char *fmt,...);
#define kal_toWCHAR(asciiString) L##asciiString

相關詞條

熱門詞條

聯絡我們