Creates a new CStr from a pointer.
CStr
impl CStr { unsafe fn from_ptr(ptr: *const i8) -> &'static CStr }
A pointer to a null-terminated string.
If ptr is not a null terminated array of bytes, the behavior is undefined.
ptr