[][src]Function kernel::externs::memcmp

#[no_mangle]
pub unsafe extern "C" fn memcmp(s1: *const u8, s2: *const u8, n: usize) -> i32

Memcmp

Compare two blocks of memory.

This faster implementation works by comparing bytes not one-by-one, but in groups of 8 bytes (or 4 bytes in the case of 32-bit architectures).