DOKK / manpages / debian 12 / libbson-doc / bson_check_version.3.en
BSON_CHECK_VERSION(3) libbson BSON_CHECK_VERSION(3)

bson_check_version - bson_check_version()

bool
bson_check_version (int required_major, int required_minor, int required_micro);


  • required_major: The minimum major version required.
  • required_minor: The minimum minor version required.
  • required_micro: The minimum micro version required.

Check at runtime if this release of libbson meets a required version.

True if libbson's version is greater than or equal to the required version.

MongoDB, Inc

2017-present, MongoDB, Inc

October 20, 2022 1.23.1