debian man page for str_diff

Query: str_diff

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

str_diff(3)						     Library Functions Manual						       str_diff(3)

NAME
str_diff - compare two ASCIIZ strings
SYNTAX
#include <str.h> int str_diff(const char* a,const char* b);
DESCRIPTION
str_diff returns negative, 0, or positive, depending on whether the string a[0], a[1], ..., a[n]=='' is lexicographically smaller than, equal to, or greater than the string b[0], b[1], ..., b[m-1]==''. If the strings are different, str_diff does not read bytes past the first difference.
SEE ALSO
strlen(3) str_diff(3)
Related Man Pages
strcasecmp_l(3) - mojave
strcasecmp(3) - mojave
strncasecmp(3) - mojave
strncmp(3) - freebsd
strcmp(3) - netbsd
Similar Topics in the Unix Linux Community
Difference script