1str_diffn(3)               Library Functions Manual               str_diffn(3)
2
3
4

NAME

6       str_diffn - compare two ASCIIZ strings
7

SYNTAX

9       #include <str.h>
10
11       int str_diffn(const char* a,const char* b,size_t limit);
12

DESCRIPTION

14       str_diffn  returns  negative,  0, or positive, depending on whether the
15       string a[0], a[1], ..., a[n]=='\0' is lexicographically  smaller  than,
16       equal to, or greater than the string b[0], b[1], ..., b[m-1]=='\0'.
17
18       If  the  strings  are different, str_diffn does not read bytes past the
19       first difference.  The strings will be considered equal  if  the  first
20       limit characters match.
21

SEE ALSO

23       strlen(3)
24
25
26
27                                                                  str_diffn(3)
Impressum