[Solved] different output with exit() and _exit()?


If we read _exit()‘s documentation, we note:

Causes normal program termination to occur without completely cleaning the resources.

This presumably would include flushing stdout.

solved different output with exit() and _exit()?