mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-11 13:39:55 +02:00
System/Libraries/String: Add StrLenI32()
This commit is contained in:
@@ -2,6 +2,16 @@
|
||||
#define TRIM_LEFT 1
|
||||
#define TRIM_RIGHT 2
|
||||
|
||||
I64 StrLenI32(I32* str)
|
||||
{
|
||||
I64 res = 0;
|
||||
while (*str) {
|
||||
++res;
|
||||
++str;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
U0 @string_append(U8* dst, U8* fmt, ...)
|
||||
{
|
||||
U8* buf;
|
||||
|
||||
Reference in New Issue
Block a user