#[no_mangle]
pub const extern "C" fn nstd_cstring_len(
    cstring: &NSTDCString<'_>
) -> NSTDUInt
Available 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.