BSON_STRERROR_R(3) libbson BSON_STRERROR_R(3)

char *
bson_strerror_r (int err_code, char *buf, size_t buflen);


  • err_code: An errno.
  • buf: A location to store the string.
  • buflen: The size of buf.

This is a portability wrapper around strerror().

The passed in buf parameter or an internal string.

MongoDB, Inc

2017-present, MongoDB, Inc

March 31, 2024 1.26.0