debian man page for byte_diff

Query: byte_diff

OS: debian

Section: 3

Links: debian man pages | All man pages

Forums: Unix Linux Community | Forum Categories

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

byte_diff(3)						     Library Functions Manual						      byte_diff(3)

NAME
byte_diff - compare two strings
SYNTAX
#include <byte.h> int byte_diff(const char *one,size_t len,const char *two);
DESCRIPTION
byte_diff returns negative, 0, or positive, depending on whether the string one[0], one[1], ..., one[len-1] is lexicographically smaller than, equal to, or greater than the string one[0], one[1], ..., one[len-1]. When the strings are different, byte_diff does not read bytes past the first difference.
SEE ALSO
byte_equal(3) byte_diff(3)
Related Man Pages
case(3) - debian
ssp(3) - netbsd
strncasecmp(3) - netbsd
bstring(3) - freebsd
strncasecmp_l(3) - freebsd
Similar Topics in the Unix Linux Community
disk usage (df vs du)
rcp gets hung for long time
Help with displaying difference between two arrays (Bash)
libcvd install problem
Help with djbdns code