nstd_cstring_len_with_null

Function nstd_cstring_len_with_null 

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