Scroll to navigation

BSON_STRERROR_R(3) libbson BSON_STRERROR_R(3)

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.

March 5, 2025 1.30.2