OPENSSL_strncasecmp

Case-insensitive comparison of at most n characters of two C strings.

Synopsis

Declared in <openssl/crypto.h>

int
OPENSSL_strncasecmp(
    char const* s1,
    char const* s2,
    size_t n);

Return Value

Negative, zero, or positive like strncasecmp().

Parameters

NameDescription
s1First string.
s2Second string.
nMaximum number of characters to compare.