Synopsis
#include <string_c.h>
int memcmp_c(const void *s1, __code const void *s2, size_t n);
Description

memcmp_c compares the first n characters of the object pointed to by s1 to the first n characters of the object pointed to by s2. memcmp_c returns an integer greater than, equal to, or less than zero as the object pointed to by s1 is greater than, equal to, or less than the object pointed to by s2.

Portability

memcmp_c is an extension provided by CrossWorks.