1BSON_STRCASECMP(3) libbson BSON_STRCASECMP(3)
23
4
SYNOPSIS
6int
7bson_strcasecmp (const char *s1, const char *s2);
8
PARAMETERS
10• s1: A string.
1112
• s2: A string.
13
DESCRIPTION
15A portable version of strcasecmp().
16
RETURNS
18Returns a negative integer if s1 sorts lexicographically before s2, a
19positive integer if it sorts after, or 0 if they are equivalent, after
20translating both strings to lower case.
21
AUTHOR
23MongoDB, Inc
24
COPYRIGHT
262017-present, MongoDB, Inc
2728
29
30
31
1.25.1 Nov 08, 2023 BSON_STRCASECMP(3)