Provided by: libbson-doc_2.2.1-1_all 

SYNOPSIS
char *
bson_strerror_r (int err_code, char *buf, size_t buflen);
PARAMETERS
• err_code: An errno.
• buf: A location to store the string.
• buflen: The size of buf.
DESCRIPTION
This is a portability wrapper around strerror().
RETURNS
The passed in buf parameter or an internal string.
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
2.2.1 Dec 11, 2025 BSON_STRERROR_R(3)