A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../algorithm/../../cpp/../c/program/quick_exit.html below:

quick_exit - cppreference.com

_Noreturn void quick_exit( int exit_code );

(since C11)
(until C23)

[[noreturn]] void quick_exit( int exit_code );

(since C23)

Causes normal program termination to occur without completely cleaning the resources.

Functions passed to at_quick_exit are called in reverse order of their registration. After calling the registered functions, calls _Exit(exit_code).

Functions passed to atexit or signal handlers passed to signal are not called.

[edit] Parameters exit_code - exit status of the program [edit] Return value

(none)

[edit] Example

Output:

pushed second
pushed first
[edit] References
[edit] See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4