Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexreg/libsbuf

Library providing safe string composition functionality for OS X
https://github.com/alexreg/libsbuf

Last synced: about 1 month ago
JSON representation

Library providing safe string composition functionality for OS X

Awesome Lists containing this project

README

        

libsbuf
=======

*libsbuf* is an implementation of the [FreeBSD][FreeBSD] **safe string composition functions** for OS X.

The source code is based on the [source][FreeBSD source] of [FreeBSD 11][FreeBSD release].

Building
--------

To build the library, simply run `./build` from the root directory of the project. This produces all output in the `output` subdirectory.

Installing
----------

To install the library, first build it, then run `./install` as superuser from the root directory of the project. This will install the library under the default prefix directory `/usr/local`.

A custom prefix directory can be specified by setting the `INSTALL_PREFIX` environment variable before installing.

Usage
-----

The manual page for the API is `sbuf(3)`.

[FreeBSD]: https://www.freebsd.org/
[FreeBSD release]: https://www.freebsd.org/relnotes/CURRENT/relnotes/article.html
[FreeBSD source]: https://svnweb.freebsd.org/base/head/
[FreeBSD manual sbuf]: https://www.freebsd.org/cgi/man.cgi?query=sbuf&manpath=FreeBSD+11-current