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).
AUTHORLars Wirzenius ([email protected])