이름공간
변수
행위

Program support utilities

cppreference.com
< cpp‎ | utility

목차

[편집] Program termination

The following functions manage program termination and resource cleanup.

<cstdlib> 헤더에 정의되어 있음.
causes abnormal program termination (without cleaning up)
(function) [edit]
causes normal program termination with cleaning up
(function) [edit]
causes normal program termination without completely cleaning up
(function) [edit]
(C++11)
causes normal program termination without cleaning up
(function) [edit]
registers a function to be called on exit() invocation
(function) [edit]
registers a function to be called on quick_exit invocation
(function) [edit]
indicates program execution execution status
(macro constant) [edit]

[편집] Communicating with the environment

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

[편집] Signals

Several functions and macro constants for signal management are provided.

<csignal> 헤더에 정의되어 있음.
sets a signal handler for particular signal
(function) [edit]
runs the signal handler for particular signal
(function) [edit]
the integer type that can be accessed as an atomic entity from an asynchronous signal handler
(typedef)
defines signal handling strategies
(macro constant) [edit]
return value of signal specifying that an error was encountered
(macro constant) [edit]
Signal types
defines signal types
(macro constant) [edit]

[편집] Non-local jumps

<csetjmp> 헤더에 정의되어 있음.
saves the context
(function macro) [edit]
jumps to specified location
(function) [edit]
Types
execution context type
(typedef) [edit]