Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Author

       MongoDB, Inc

Description

       This is a portability wrapper around strerror().

Parameters

err_code: An errno.

       • buf: A location to store the string.

       • buflen: The size of buf.

Returns

       The passed in buf parameter or an internal string.

Synopsis

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

See Also