bson_strerror_r() — libbson 1.6.3

- libbson 1.6.3 »
- API Reference »
- bson_error_t

# bson_strerror_r()

## 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.

Created using Sphinx 1.5.3, based on Sphinx Readable Theme.