System/Libraries/String: Add StrLenI32()
This commit is contained in:
parent
c54cd6ea51
commit
33b795fa93
1 changed files with 10 additions and 0 deletions
|
@ -2,6 +2,16 @@
|
||||||
#define TRIM_LEFT 1
|
#define TRIM_LEFT 1
|
||||||
#define TRIM_RIGHT 2
|
#define TRIM_RIGHT 2
|
||||||
|
|
||||||
|
I64 StrLenI32(I32* str)
|
||||||
|
{
|
||||||
|
I64 res = 0;
|
||||||
|
while (*str) {
|
||||||
|
++res;
|
||||||
|
++str;
|
||||||
|
}
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
U0 @string_append(U8* dst, U8* fmt, ...)
|
U0 @string_append(U8* dst, U8* fmt, ...)
|
||||||
{
|
{
|
||||||
U8* buf;
|
U8* buf;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue