get_c_str_safe
os
0.1.0
In os::
kernel::
syscall::
network
os
::
kernel
::
syscall
::
network
Function
get_
c_
str_
safe
Copy item path
Source
unsafe fn get_c_str_safe(ptr: *const c_char) -> Option<&'static str>
Expand description
安全地获取C字符串