##### Synopsis

    #include <string_c.h>
    int strncmp_c(const char *s1, __code const char *s2, size_t n);

##### Description

strncmp_c compares not more than n characters from the array pointed to by s1 to the array pointed to by s2. Characters that follow a null character are not compared.

strncmp_c returns an integer greater than, equal to, or less than zero, if the possibly null-terminated array pointed to by s1 is greater than, equal to, or less than the possibly null-terminated array pointed to by s2.

##### Portability

strncmp_c is an extension provided by CrossWorks.