Karl Berry wrote:
> I see that it was convenient to be able
> to pass in two pointers, const char *start and const char *end

Yes, some people prefer to pass 'end', some people prefer to pass 'len'.
Since  end = start + len,  len = end - start,  the choice is mostly a matter
of taste.

Since <string.h> functions like 'memset', 'memcpy' pass 'len', I figure it's
consistent to use that parameter here too.

Bruno



Reply via email to