4.10 Libraries

The MPLAB XC8 C Compiler provides C90- and C99-validated libraries of functions, macros, types, and objects that can assist with your code development.

The Standard C libraries are described in the separate Microchip Unified Standard Library Reference Guide document, whose content is relevant for all MPLAB XC C compilers.

The library includes functions for string manipulation, dynamic memory allocation, data conversion, timekeeping and math functions (trigonometric, exponential and hyperbolic).

In addition to the libraries supplied with the compiler, you can create your own libraries from source code you have written.