bson_strerror_r man page

bson_strerror_r() — This is a portability wrapper around strerror().

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(3)

Returns

The passed in buf parameter or an internal string.

Colophon

This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Info

2016‐09‐02 libbson