Scroll to navigation

BSON_STRERROR_R(3) Library Functions Manual BSON_STRERROR_R(3)

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.
2016‐10‐12 libbson