Matlab, Rust.
a borrowed value. The output goes through the reverse process to the input. First, the String is converted to a CString, which is the owned counterpart of the borrowed CStr. We need to call the into_raw method of CString to get a pointer that is tempting to return. The Gotcha: Fun with memory