This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SYS_exitStack symbol in the CCS map file for C67x

In the map file generated for C67x using CCS version 5.2.x, there is a label called _SYS_exitStack.  I like to know what is contained in this structure and its usage.   Reference material is also greatly appreciated. 

  • Jeff,

    The SYS_exitStack is an array of function pointers.
    The array contains all the functions passed to the SYS_atExit() API.
    When an application calls SYS_exit(), each of the "at exit" functions in the SYS_exitStack array are called prior to calling the 'exit()' function.

    Alan