_exit.2: Open stdio frames are not flushed, temporary files are deleted

Many years ago, text was added to the page saying that it is
implementation-dependent whether stdio streams are flushed and
whether temporary are removed. In part, this change appears to
be because POSIX.1-2001 added text related to this point.
However, that seems to have been an error in POSIX, and the
text was subsequently removed for POSIX.1-2008. See
https://collaboration.opengroup.org/austin/interps/documents/9984/AI-085.txt
Austin Group Interpretation reference 1003.1-2001 #085

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-06-10 12:55:49 +02:00
parent ebfc361134
commit 29c4533cd3
1 changed files with 3 additions and 4 deletions

View File

@ -97,10 +97,9 @@ functions registered with
.BR atexit (3)
or
.BR on_exit (3).
Whether it flushes
standard I/O buffers and removes temporary files created with
.BR tmpfile (3)
is implementation-dependent.
Open
.BR stdio (3)
streams are not flushed.
On the other hand,
.BR _exit ()
does close open file descriptors, and this may cause an unknown delay,