From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/c/program.html | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 devdocs/c/program.html (limited to 'devdocs/c/program.html') diff --git a/devdocs/c/program.html b/devdocs/c/program.html new file mode 100644 index 00000000..95464568 --- /dev/null +++ b/devdocs/c/program.html @@ -0,0 +1,73 @@ +

Program support utilities

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)

Unreachable control flow

+ +
Defined in header <stddef.h>
+
(C23)
marks unreachable point of execution
(function macro)

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)

Signals

Several functions and macro constants for signal management are provided.

+ + + + + + + + +
Defined in header <signal.h>
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)
error was encountered
(macro constant)
Signal types
defines signal types
(macro constant)

Non-local jumps

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

References

See also

+
C++ documentation for Program support utilities
+

+ © cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
+ https://en.cppreference.com/w/c/program +

+
-- cgit v1.2.3