[][src]Function drone_core::ffi::libc::strcmp

#[no_mangle]pub unsafe extern "C" fn strcmp(s1: *const c_char, s2: *const c_char) -> c_int

Compares the two strings s1 and s2. It returns an integer less than, equal to, or greater than zero if s1 is found, respectively, to be less than, to match, or be greater than s2.

Safety

This function works with raw pointers.