Namespaces
Variants
Views
Actions

Program support utilities

From cppreference.com
< c
Revision as of 17:53, 2 November 2012 by P12bot (Talk | contribs)

Contents

Program termination

The following functions manage program termination and resource cleanup.

Template:c/program/dcl list abortTemplate:c/program/dcl list exitTemplate:c/program/dcl list quick exitTemplate:c/program/dcl list ExitTemplate:c/program/dcl list atexitTemplate:c/program/dcl list at quick exitTemplate:c/program/dcl list EXIT status
Defined in header <stdlib.h>

Communicating with the environment

Template:c/program/dcl list systemTemplate:c/program/dcl list getenv

Signals

Several functions and macro constants for signal management are provided.

Template:c/program/dcl list signalTemplate:c/program/dcl list raiseTemplate:c/program/dcl list SIG strategiesTemplate:c/program/dcl list SIG ERRTemplate:c/program/dcl list SIG types
Defined in header <signal.h>
the integer type that can be accessed as an atomic entity from an asynchronous signal handler
(typedef)
Signal types

Non-local jumps

Template:c/program/dcl list setjmpTemplate:c/program/dcl list longjmpTemplate:c/program/dcl list jmp buf
Defined in header <setjmp.h>
Types