You might want to consider providing your own exit() function to override the default implementation. This can save both code space and data space.
If you're not using standard I/O, this stub implementation can save about 1 KB of code space and even some data space. Just add it to your project.
void exit(int status)Even if you are using standard I/O, this stub could still save you a little space.
{
while(1);
}
No comments:
Post a Comment