Library providing BSD-compatible functions for portability