Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.01 KB

README.md

File metadata and controls

28 lines (18 loc) · 1.01 KB

libsbuf

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

The source code is based on the source of FreeBSD 11.

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).