Function nstd_sys::cstring::nstd_cstring_len_with_null
source · #[no_mangle]
pub extern "C" fn nstd_cstring_len_with_null(
cstring: &NSTDCString<'_>
) -> NSTDUIntAvailable on crate feature
cstring only.Expand description
Returns the number of chars in a C string, including the null terminator.
Parameters:
const NSTDCString *cstring- The C string.
Returns
NSTDUInt len - The length of the C string including it’s null byte.