OPENSSL_strcasecmp(3) | OpenSSL | OPENSSL_strcasecmp(3) |
#include <openssl/crypto.h> int OPENSSL_strcasecmp(const char *s1, const char *s2); int OPENSSL_strncasecmp(const char *s1, const char *s2, size_t n);
The OPENSSL_strncasecmp function is similar, except that it compares no more than n bytes of s1 and s2.
In POSIX-compatible system and on Windows these functions use "C" locale for case insensitive. Otherwise the comparison is done in current locale.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
2023-05-07 | 3.0.12 |