3 ms·
Whenever I've had to write non-trivial C, I try to use the bstring: http://bstring.sourceforge.net/ http://bstring.sourceforge.net/ library if possible, which p
by shabble 15y ago
Whenever I've had to write non-trivial C, I try to use the bstring: http://bstring.sourceforge.net/ http://bstring.sourceforge.net/ library if possible, which provides a length+blob approach with a nice API, and can be converted to/from nul strings fairly easily.