#include <string.h>
int strncmp (
const unsigned char *string1, /* first string */
const unsigned char *string2, /* second string */
unsigned int len); /* max characters to compare */
Description
The strncmp function compares the first len bytes of string1 and string2 and returns a value indicating their
relationship.
Return Value
The strncmp function returns the following values to
indicate the relationship of the first len bytes
of string1 to string2:
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.