mirror of https://github.com/mkerrisk/man-pages
_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:
parent
ebfc361134
commit
29c4533cd3
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue