BSON_STRERROR_R(3)

NAME
bson_strerror_r()

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

PARAMETERS

.B err_code
    An errno.

.B buf
    A location to store the string.

.B buflen
    The size of buf .

DESCRIPTION
This is a portability wrapper around strerror() .

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.