You copied the Doc URL to your clipboard.

About microlib

Microlib is an alternative library to the default C library. It is intended for use with deeply embedded applications that must fit into extremely small memory footprints. These applications do not run under an operating system.


Microlib does not attempt to be an ISO C-compliant library.

Microlib is highly optimized for small code size. It has less functionality than the default C library and some ISO C features are completely missing. Some library functions are also slower.

Functions in microlib are responsible for:

  • Creating an environment that a C program can execute in. This includes:

    • creating a stack

    • creating a heap, if required

    • initializing the parts of the library the program uses.

  • Starting execution by calling main().

Was this page helpful? Yes No