19 Libraries

The MPLAB XC32 C/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). The standard I/O functions for file handling are also included, and, as distributed, they support full access to the host file system using the command-line simulator.

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