cstr_len
os
0.1.0
cstr_
len
Sections
参数:
返回值:
In os::
util::
str
os
::
util
::
str
Function
cstr_
len
Copy item path
Source
pub unsafe fn cstr_len(s: *const u8) -> usize
Expand description
计算字符串的长度(不包括 NULL 终止符)
§
参数:
s
- 字符串指针
§
返回值:
字符串长度