stdlib.h: Partially revert c27a899718

quick_exit() can call other functions, and we don't guarantee it calls
std::terminate should those other functions throw exceptions. And to
make it do so has ABI complications for libc. Until that's sorted out,
revert this noexcept (but leave a comment behind so people will find
this commit message)

Requested by:		kib

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2024-02-02 12:06:25 -07:00
parent c475e61f66
commit d56a6f0516

View File

@ -165,7 +165,7 @@ void * aligned_alloc(size_t, size_t) __malloc_like __alloc_align(1)
__alloc_size(2);
int at_quick_exit(void (*)(void)) __noexcept;
_Noreturn void
quick_exit(int) __noexcept;
quick_exit(int) /* __noexcept -- not ready ABI issues? */;
#endif /* __ISO_C_VISIBLE >= 2011 */
/*
* Extensions made by POSIX relative to C.