'Vstr' is a string library for C designed for network communication. Its design uses chunks of ptr+length data, so adding, substituting, and deleting data are all fast operations. It can also do automatic referencing for mmap() areas of memory. Shortcut APIs are included to mmap() a file into a Vstr string, and read()/write() data to/from a Vstr string. Another feature is a POSIX and ISO 9899:1999 compliant printf() like function, which can be extended with user supplied formatters that are gcc warning compatible. The total API is over 140 functions, but laid out in a easy to remember manner, including data parsing functions, a non-destructive split() function, and conversion functions (among others).
released on 6 March 2006
|License||Verified by||Verified on||Notes|
|LGPL||Janet Casey||30 July 2002|
Leaders and contributors
Resources and communication
|Weak prerequisite||gcc+ attribute-visibility patch|
This entry (in part or in whole) was last reviewed on 7 January 2017.