...
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 |
|---|---|---|---|---|
| unspecified | unspecified | unspecified | no |
| yes | unspecified | unspecified | no |
| yes | yes | yes | yes |
return from | yes | yes | yes | yes |
...