Just see a function in xxx.c file as:
====Code:void $Sub$$main(void) { // blahblah.. // does some extra setup work $Super$$main(); //calls the original function }
Here i have two questions.
1. Why a function name can be declared as $...$$....
Does it have any special meaning?
2. Why did it call "itself"? What does the original function mean here?
BTW, it's a code downloaded from ARM.com
Thanks a lot for the explanation.




Reply With Quote