kal_wstrcmp

生活百科 2023-01-17 20:00生活百科www.aizhengw.cn

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
上一篇:James Carraway 下一篇:EXCEL公式

Copyright@2015-2025 www.aizhengw.cn 癌症网版板所有