Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Whether open streams with unwritten buffered data are flushed, open streams are closed, or temporary files are removed is implementation-defined. Functions registered by atexit() are not executed (see ERR06-A. Understand the termination behavior of assert() and abort()).

Summary

Function

Closes file descriptors

Flushes buffers

Deletes temporary files

Calls atexit() functions

abort()

unspecified

unspecified

unspecified

no

_Exit(status)

yes

unspecified

unspecified

no

exit(status)

yes

yes

yes

yes

return from main()

yes

yes

yes

yes

...