DOKK / manpages / debian 12 / libbson-doc / bson_strerror_r.3.en
BSON_STRERROR_R(3) libbson BSON_STRERROR_R(3)

bson_strerror_r - bson_strerror_r()

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

October 20, 2022 1.23.1