Function drone_core::ffi::libc::strlen [−][src]
#[no_mangle]pub unsafe extern "C" fn strlen(s: *const c_char) -> size_t
Calculates the length of the string s
, excluding the terminating null byte
('\0'
).
Safety
This function works with raw pointers.