Namespaces
Variants
Views
Actions

Difference between revisions of "c/program"

From cppreference.com
< c
(merge signal pages)
m (Text replace - "/sidebar" to "/navbar")
Line 1: Line 1:
 
{{title|Program support utilities}}
 
{{title|Program support utilities}}
{{c/program/sidebar}}
+
{{c/program/navbar}}
  
 
===Program termination===
 
===Program termination===

Revision as of 12:01, 15 June 2012

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