Query: strdiff
OS: debian
Section: 3pub
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
STRDIFF(3pub) C Programmer's Manual STRDIFF(3pub)NAMEstrdiff - locate first difference between two stringsSYNOPSIS#include <publib.h> size_t strdiff(const char *str1, const char *str2);DESCRIPTIONstrdiff 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 VALUEstrdiff returns a the offset of the first pair of differring characters (or the offset of the first zero character it finds).SEE ALSOpublib(3), string(3), strcmp(3)AUTHORLars Wirzenius (lars.wirzenius@helsinki.fi) Publib C Programmer's Manual STRDIFF(3pub)
Related Man Pages |
---|
stracat(3pub) - debian |
strcstr(3pub) - debian |
strltrim(3pub) - debian |
strmaxcpy(3pub) - debian |
xmalloc(3pub) - debian |
Similar Topics in the Unix Linux Community |
---|
awk or sed - Convert 2 lines to 1 line |
Is UNIX an open source OS ? |
Detecting unused variables... |
One instance of comparing grep and awk |