Function stdio_strncmp
Defined in File string.h
Function Documentation
-
int stdio_strncmp(const char *s1, const char *s2, size_t len)
Compare two strings for equality.
This routine compares two strings alphabetically, char by char, to a maximum of len chars.
- Parameters:
s1 – String #1.
s2 – String #2.
len – # of bytes to compare.
- Returns:
<,=,> 0 depending if s1 is found to be <,=,> s2