home | help
BSON_STRCASECMP(3)		     libbson		      BSON_STRCASECMP(3)

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

PARAMETERS
     * s1: A string.

     * s2: A string.

DESCRIPTION
     A portable version of strcasecmp().

RETURNS
     Returns a negative integer if s1 sorts lexicographically before s2, a posi-
     tive  integer  if it sorts after, or 0 if they are equivalent, after trans-
     lating both strings to lower case.

AUTHOR
     MongoDB, Inc

COPYRIGHT
     2009-present, MongoDB, Inc.

1.30.8				  Aug 27, 2026		      BSON_STRCASECMP(3)

home | help