Function nstd_sys::cstring::nstd_cstring_as_cstr
source · #[no_mangle]
pub extern "C" fn nstd_cstring_as_cstr(
cstring: &NSTDCString<'_>
) -> NSTDCStrAvailable on crate feature
cstring only.Expand description
Creates a C string slice containing the contents of cstring.
Parameters:
const NSTDCString *cstring- The C string.
Returns
NSTDCStr cstr - The new C string slice.