2.3. Building an application with the C library
This section covers creating an application that links with functions from the C or C++ libraries. Functions in the C library are responsible for:
Creating an environment in which a C or C++ program can execute. This includes:
Starting execution by calling main().
Supporting use of ISO‑defined functions by the program.
Catching runtime errors and signals and, if required, terminating execution on error or program exit.