_Exit
needs better specificationSection: 17.5 [support.start.term] Status: C++11 Submitter: P.J. Plauger Opened: 2009-03-03 Last modified: 2016-01-28
Priority: Not Prioritized
View other active issues in [support.start.term].
View all other issues in [support.start.term].
View all issues with C++11 status.
Discussion:
Addresses UK-188 [CD1]
The function _Exit
does not appear to be defined in this standard.
Should it be added to the table of functions included-by-reference to
the C standard?
[ 2009-05-09 Alisdair fixed some minor issues in the wording. ]
[ Batavia (2009-05): ]
We agree with the proposed resolution. Move to Tentatively Ready.
Proposed resolution:
Add to 17.5 [support.start.term] Table 20 (Header
<cstdlib>
synopsis) Functions:
_Exit
Add before the description of abort(void)
:
void _Exit [[noreturn]] (int status)The function
_Exit(int status)
has additional behavior in this International Standard:
- The program is terminated without executing destructors for objects of automatic, thread, or static storage duration and without calling the functions passed to
atexit()
(6.9.3.4 [basic.start.term]).