1BSON_ITER_DUP_UTF8(3)               libbson              BSON_ITER_DUP_UTF8(3)
2
3
4

NAME

6       bson_iter_dup_utf8 - bson_iter_dup_utf8()
7

SYNOPSIS

9          char *
10          bson_iter_dup_utf8 (const bson_iter_t *iter, uint32_t *length);
11

PARAMETERS

13       · iter: A bson_iter_t.
14
15       · length:  An  optional  location  for  the length of the UTF-8 encoded
16         string.
17

DESCRIPTION

19       This function is similar  to  bson_iter_utf8()  except  that  it  calls
20       bson_strndup() on the result.
21

RETURNS

23       A newly allocated string that should be freed with bson_free().
24

AUTHOR

26       MongoDB, Inc
27
29       2017-present, MongoDB, Inc
30
31
32
33
341.16.2                           Feb 25, 2020            BSON_ITER_DUP_UTF8(3)
Impressum