hcl/lib/cmn/str-len.h

9 lines
124 B
C
Raw Normal View History

2014-07-02 14:29:01 +00:00
h2_size_t XFUN(strlen) (const xchar_t* str)
{
const xchar_t* p = str;
while (*p != XCHAR('\0')) p++;
return p - str;
}