strdiff(3pub) debian man page | unix.com

Man Page: strdiff

Operating Environment: debian

Section: 3pub

STRDIFF(3pub)						       C Programmer's Manual						     STRDIFF(3pub)

NAME
strdiff - locate first difference between two strings
SYNOPSIS
#include <publib.h> size_t strdiff(const char *str1, const char *str2);
DESCRIPTION
strdiff finds the first character from the beginning that is different in the two strings str1 and str2. The terminating zero characters are considered different.
RETURN VALUE
strdiff returns a the offset of the first pair of differring characters (or the offset of the first zero character it finds).
SEE ALSO
publib(3), string(3), strcmp(3)
AUTHOR
Lars Wirzenius (lars.wirzenius@helsinki.fi) Publib C Programmer's Manual STRDIFF(3pub)
Related Man Pages
memdup(3pub) - debian
memshuffle(3pub) - debian
strmaxcpy(3pub) - debian
xmalloc(3pub) - debian
xmemdup(3pub) - debian
Similar Topics in the Unix Linux Community
How can I do this in VI editor?
Find columns in a file based on header and print to new file
A (ksh) Library For and From UNIX.com
How to copy a column of multiple files and paste into new excel file (next to column)?
New UNIX and Linux History Sections