Function nstd_sys::cstring::nstd_cstring_as_ptr
source · #[no_mangle]
pub extern "C" fn nstd_cstring_as_ptr(
cstring: &NSTDCString<'_>
) -> *const NSTDCharAvailable on crate feature
cstring only.Expand description
Returns a raw pointer to a C string’s memory.
Parameters:
const NSTDCString *cstring- The C string.
Returns
const NSTDChar *ptr - A raw pointer to a C string’s memory.