SYNOPSIS

#include <bson.h>

void
bson_string_append (bson_string_t *string,
                    const char    *str);

void
bson_string_append_c (bson_string_t *string,
                      char           c);

void
bson_string_append_printf (bson_string_t *string,
                           const char    *format,
                           ...);

void
bson_string_append_unichar (bson_string_t *string,
                            bson_unichar_t unichar);

DESCRIPTION

The bson_string_append() function shall copy the contents of str onto the end of string.

The bson_string_append_c() function shall append a single ascii character to the end of string.

The bson_string_append_printf() function shall format a string as specified by format and append it to string.

The bson_string_append_unichar() function shall append a single unicode character to the end of string. It will be encoded into UTF-8.

ERRORS

No errors are defined.

SEE ALSO

AUTHORS

This page was written by MongoDB, Inc.