Libtext is a C library for creating, reading, and performing operations on growable text / string buffer objects with optional error callbacks. The library performs actions such as append, delete, find, get, insert, prepend, replace, and reverse. Libtext can also append, insert, overwrite, and prepend printf style formats. Further options include rejecting binary characters, setting a maximum size, and setting a mask that controls for which errors the callback will be executed for each individual object. The API is simple enough to learn and use within minutes, but can be used to build more complex routines.
|Tags||Software Development Libraries Text Processing|
|Operating Systems||POSIX Linux Unix|
Release Notes: Libtext is stable, but under a beta release waiting to get user feedback on possible improvements before the API is set in stone. So don't depend on the current API being unchanged until a non-beta package has been released. At this point please submit suggestions on API improvements, possible additional features, or additional convenience macros ( especially for t_newdef ).