libyml
0.0.5
yaml_
string_
duplicate
Sections
Safety
In libyml::
string
libyml
::
string
Function
yaml_string_duplicate
Copy item path
Source
pub unsafe fn yaml_string_duplicate(str:
*const
u8
) ->
*mut
u8
Expand description
Duplicate a null-terminated string.
ยง
Safety
This function is unsafe because it involves memory allocation.