BSON_STRING_APPEND_C(3)
π BSON_STRING_APPEND_C π
okay bestie, welcome to libbson β yes, that libbson, the one from the BSON_STRING_APPEND_C(3) manual page. sit down, grab a boba, we're gonna talk about appending exactly one (1) lil character to a string builder. it's giving tiny but mighty. β¨
β οΈ WARNING: this one is deprecated since version 1.29.0. she's retired, she's living her best life in the archives, and you should probably not be starting anything new with her. no cap. π
β¨ SYNOPSIS β¨
void
bson_string_append_c (bson_string_t *string, char str);
π PARAMETERS π
stringβ abson_string_t. that's your string builder, your little construction zone, your main character. πstrβ an ASCIIchar. just one. a single lil guy. π
πΈ DESCRIPTION πΈ
so what does she do? she appends c to the string builder string. that's it. that's the whole job. one character, appended, done, slay. π¦
π WARNING: the length of the resulting string β and yes, that includes theNULLterminator, don't forget the terminator, bestie, she counts too β MUST NOT exceedUINT32_MAX. like, must not. this is not a vibe check situation, this is a hard limit. go over it and you're in undefined-behaviour territory and we do not go there. π
π AUTHOR π
MongoDB, Inc β the icons themselves. π
π COPYRIGHT π
2009-present, MongoDB, Inc.
okay that's the whole page, you ate it, you understood it, periodt. π β¨
version 1.30.13, dated Oct 09, 2026, from the libbson manual β mwah, take care of her, she's deprecated but she's still iconic. π«Άπ
π¦ where this page comes from
- fedora 43: libbson-devel 1.30.13-1.fc43 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- fedora 43: libbson-devel 1.30.13-1.fc43 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms