对码当歌,猿生几何?

Program support utilities

From cppreference.com
< cpp‎ | utility
 
 
Utilities library
Type support (basic types, RTTI, type traits)
Dynamic memory management
Error handling
Program utilities
Variadic functions
Date and time
Function objects
(C++11)
Relational operators
optional, any and variant (C++17)
Pairs and tuples
(C++11)
(C++17)
Swap, forward and move
(C++14)
(C++11)
(C++11)
Elementary string conversions
(C++17)
(C++17)
Type operations
(C++11)
(C++17)
 
Program support utilities
Program termination
(C++11)
(C++11)
Communicating with the environment
Signals
Signal types
Non-local jumps
Types
 

Program termination

The following functions manage program termination and resource cleanup.

Defined in header <cstdlib>
causes abnormal program termination (without cleaning up)
(function)
causes normal program termination with cleaning up
(function)
causes quick program termination without completely cleaning up
(function)
(C++11)
causes normal program termination without cleaning up
(function)
registers a function to be called on std::exit() invocation
(function)
registers a function to be called on quick_exit invocation
(function)
indicates program execution execution status
(macro constant)

Communicating with the environment

calls the host environment's command processor
(function)
access to the list of environment variables
(function)

Signals

Several functions and macro constants for signal management are provided.

Defined in header <csignal>
sets a signal handler for particular signal
(function)
runs the signal handler for particular signal
(function)
the integer type that can be accessed as an atomic entity from an asynchronous signal handler
(typedef)
defines signal handling strategies
(macro constant)
return value of signal specifying that an error was encountered
(macro constant)
Signal types
defines signal types
(macro constant)

Non-local jumps

Defined in header <csetjmp>
saves the context
(function macro)
jumps to specified location
(function)
Types
execution context type
(typedef)

See also

C documentation for Program support utilities