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