logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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