bson_strerror_r (3) - Linux Manuals

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

NAME

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.