Here is the introduction to Bstrlib taken from its document file:
The bstring library is an attempt to provide improved string processing functionality to the C and C++ language. At the heart of the bstring library (Bstrlib for short) is the management of "bstring"s which are a significant improvement over '\0' terminated char buffers.
The full documentation can be found at https://raw.githubusercontent.com/websnarf/bstrlib/master/bstrlib.txt. The documentation is thorough in providing motivation and seems to be complete in that it describes every function and their possible side effects, if any. If you decide to incorporate this library into your programs, I strongly suggest you read and study this document. In this brief introduction to Bstrlib, we will focus entirely on the C functions of the library, not the C++ functions.
The Bstrlib home page can be found at http://bstring.sourceforge.net. The...