The libbuf
is a minimal C library to handle dynamic strings. It is designed in mind to be portable, simple, easy to embed.
It consists of:
buf_printf
, buf_putc
, buf_puts
),buf_resize
, buf_reserve
),buf_erase
, buf_clear
),buf_dup
, buf_sub
).You can install a development version using Mercurial
hg clone http://hg.malikania.fr/libbuf
Build using standard POSIX make tools, see INSTALL.md for more details.
make
make install
Manual pages:
Also have a look into the official README.md file in the repository which may contain additional information and a FAQ.