Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Author

       MongoDB, Inc

Description

       A portable version of strcasecmp().

Parameters

       • s1: A string.

       • s2: A string.

Returns

       Returns a negative integer if s1 sorts lexicographically before s2, a positive integer if it sorts after,
       or 0 if they are equivalent, after translating both strings to lower case.

Synopsis

          int
          bson_strcasecmp (const char *s1, const char *s2);

See Also