From the man page:

"""""
These functions compare the NUL-terminated strings s1 and s2 and
return an [...].

strncasecmp() and strncasecmp_l() compare at most len characters.
"""""

Why NULL-terminated when comparing at most len characters?!

Rod.

Reply via email to