| Program termination | |||||||||||||||||||||
| |||||||||||||||||||||
| Unreachable control flow | |||||||||||||||||||||
(C23) | |||||||||||||||||||||
| Communicating with the environment | |||||||||||||||||||||
| |||||||||||||||||||||
| Memory alignment query | |||||||||||||||||||||
(C23) | |||||||||||||||||||||
| Signals | |||||||||||||||||||||
| Signal types | |||||||||||||||||||||
| Non-local jumps | |||||||||||||||||||||
| Types | |||||||||||||||||||||
Contents |
The following functions manage program termination and resources cleanup.
Defined in header <stdlib.h> | |
| causes abnormal program termination (without cleaning up) (function)[edit] | |
| causes normal program termination with cleaning up (function)[edit] | |
(C11) | causes normal program termination without completely cleaning up (function)[edit] |
(C99) | causes normal program termination without cleaning up (function)[edit] |
| registers a function to be called onexit() invocation (function)[edit] | |
(C11) | registers a function to be called onquick_exit invocation (function)[edit] |
| indicates program execution execution status (macro constant)[edit] | |
Defined in header <stddef.h> | |
(C23) | marks unreachable point of execution (function macro)[edit] |
Defined in header <stdlib.h> | |
| calls the host environment's command processor (function)[edit] | |
(C11) | access to the list of environment variables (function)[edit] |
Defined in header <stdlib.h> | |
(C23) | queries the alignment of a pointer value (function)[edit] |
Several functions and macro constants for signal management are provided.
Defined in header <signal.h> | |
| 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] | |
| error was encountered (macro constant)[edit] | |
Signal types | |
| defines signal types (macro constant)[edit] | |
Defined in header <setjmp.h> | |
| saves the context (function macro)[edit] | |
| jumps to specified location (function)[edit] | |
Types | |
| execution context type (typedef)[edit] | |
C++ documentation forProgram support utilities |