C library implementation of the BSD command-line utility