firestring_strncasecmp3
Strncasecmp(3) provided as a replacement so programs can maintain ansi c compliance
Usage
#include <firestring.h>
-lfirestring
int firestring_strncasecmp(const char * const s1, const char * const s2, const long n)
Overview
firestring_strcasecmp() compares the first size bytes of s1 and s2 in a case insensitive fashion.
Return value
Returns -1 if the first n bytes of s1 < s2, 1 if the s2 segment > s1, and 0 if the strings segments do match.
Releases
Unchanged in 6 releases since Debian 3.1 (Sarge).