- IAR Embedded Workbench for RISC-V 3.40
- IAR C/C++ Development
- Linking your application
- Linking considerations
- Setting up the atexit limit
Setting up the atexit limit
In this section:
By default, the atexit function can be called a maximum of 32 times from your application. To either increase or decrease this number, add a line to your configuration file. For example, to reserve room for 10 calls instead, write:
define symbol __iar_maximum_atexit_calls = 10;