SYNOPSIS

#include <bson.h>

void *
bson_malloc (size_t num_bytes);

DESCRIPTION

The bson_malloc() function shall work like the system malloc except it will abort() upon failure to allocate memory.

RETURN VALUE

Always returns a valid allocation.

ERRORS

abort() is called upon failure.

SEE ALSO

AUTHORS

This page was written by MongoDB, Inc.