Program support utilities
From cppreference.com
< c
Contents |
[edit] Program termination
The following functions manage program termination and resources cleanup.
| Defined in header
<stdlib.h> | |
| causes abnormal program termination (without cleaning up) (function) | |
| causes normal program termination with cleaning up (function) | |
| (C11) |
causes normal program termination without completely cleaning up (function) |
| (C99) |
causes normal program termination without cleaning up (function) |
| registers a function to be called on exit() invocation (function) | |
| (C11) |
registers a function to be called on quick_exit invocation (function) |
| indicates program execution execution status (macro constant) | |
[edit] Unreachable control flow
| Defined in header
<stddef.h> | |
| (C23) |
marks unreachable point of execution (function macro) |
[edit] Communicating with the environment
| Defined in header
<stdlib.h> | |
| calls the host environment's command processor (function) | |
| (C11) |
access to the list of environment variables (function) |
[edit] Memory alignment query
| Defined in header |