This library provides useful functions commonly found on BSD systems, and lacking on others like GNU systems, thus making it easier to port projects with strong BSD origins, without needing to embed the same code over and over again on each project.
The licenses for the code contained in libbsd are quite permissive to make it easier for other projects to use it. Most of the licenses are either New BSD, MIT style or ISC, check the source code for the actual license details.
Latest released tarballs.
The code under development can be cloned from git:
git clone git://anongit.freedesktop.org/git/libbsd
And browsed using cgit.