CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
cstrutil.h
Go to the documentation of this file.
1
3
4#pragma once
5
6#include <cx/platform/cpp.h>
7#include <cx/utils/macros/salieri.h>
8
9#include <stdbool.h>
10#include <stddef.h>
11
12CX_C_BEGIN
13
20
28size_t cstrLen(_In_z_ const char* s);
29
37_Ret_z_ char* cstrDup(_In_z_ const char* s);
38
43size_t cstrLenw(_In_z_ const unsigned short* s);
44
52_Ret_z_ unsigned short* cstrDupw(_In_z_ const unsigned short* s);
53
67bool cstrEq(_In_opt_z_ const char* s1, _In_opt_z_ const char* s2);
68
83int cstrCmp(_In_opt_z_ const char* s1, _In_opt_z_ const char* s2);
84
92int cstrCmpi(_In_z_ const char* s1, _In_z_ const char* s2);
93
95// end of cstrutil group
96
97CX_C_END
int cstrCmpi(const char *s1, const char *s2)
unsigned short * cstrDupw(const unsigned short *s)
int cstrCmp(const char *s1, const char *s2)
size_t cstrLenw(const unsigned short *s)
size_t cstrLen(const char *s)
char * cstrDup(const char *s)
bool cstrEq(const char *s1, const char *s2)