![]() |
![]()
| ![]() |
![]()
SYNOPSISchar * bson_strndup (const char *str, size_t n_bytes); PARAMETERS
DESCRIPTIONAllocates a new string and copies up to n_bytes from str into it. A trailing \0 is always set. RETURNSA newly allocated string that should be freed with bson_free(). AUTHORMongoDB, Inc COPYRIGHT2009-present, MongoDB, Inc.
|