[#OPENSSL_strncasecmp]
= OPENSSL&lowbar;strncasecmp
:mrdocs:

Case&hyphen;insensitive comparison of at most `n` characters of two C strings&period;

== Synopsis

Declared in `&lt;openssl&sol;crypto&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OPENSSL&lowbar;strncasecmp(
    char const* s1,
    char const* s2,
    size&lowbar;t n);
----

== Return Value

Negative, zero, or positive like strncasecmp()&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s1*
| First string&period;
| *s2*
| Second string&period;
| *n*
| Maximum number of characters to compare&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
