Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: minor word fixes

...

So returning from main() is usually identical equivalent to calling exit(). Many compilers implement this behavior with something analogous to:

...

Wiki Markup
However, making it out of main is conditional on correctly being able to handle all errors in a way that does not force premature termination.  (see \[[ERR00-A. Adopt and implement a consistent and comprehensive error handling policy]\] and \[[ERR05-A. Application-independent code must provide error detection without dictating error handling]\])

...