Standard C library functions. When using the C compiler cc(1), it is not necessary to supply the loader flag -l c for these functions. There are several libraries or groups of functions included inside of libc: the standard I/O routines, database routines, bit operators, string operators, character tests and character operators, des encryption routines, storage allocation, time functions, signal handling and more.
libcurses(-lcurses-l termcap)
Terminal independent screen management routines for two dimensional non-bitmap display terminals. (See ncurses 3.)
libcompat(-lcompat)
Functions which are obsolete but are available for compatibility with BSD 4.3 . In particular, a number of system call interfaces provided in previous releases of BSD have been included for source code compatibility. Use of these routines should, for the most part, be avoided. The manual page entry for each compatibility routine indicates the proper interface to use.
libkvm(-lkvm)
Functions used to access kernel memory are in this library. They can be used against both a running system and a crash dump. (See kvm 3.)
libl(-ll)
The library for lex(1).
libm(-lm)
The math library, libm. The math library is loaded as needed by the Pascal compiler, but not by the C compiler which requires the -l m flag. (See math 3.)
libmp(-lmp) libtermcap(-ltermcap)
The terminal independent operation library package. (See termcap 3.)