DOKK / manpages / debian 13 / libbson-doc / bson_strerror_r.3.en
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

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4