Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Program information and execution control

&pagelevel(3)&pagelevel

Program information

Name

Brief description

getpgmname

Return name of the program

__DATE__

Output compilation date (macro)

__FILE__

Output source file name (macro)

__LINE__

Output current source program line number (macro)

__TIME__

Output compilation time (macro)

__STDC__

ANSI language standard (macro)

__STDC_VERSION__

Check compliance with Amendment 1

Program termination

Name

Brief description

abort

Abnormal program termination

atexit

Register termination routines

at_quick_exit

Register routines for quick termination

bs2exit

Program termination (with MONJV)

exit, _exit, _Exit

Program termination

quick_exit

Quick termination

Handling exception conditions, eventing

Name

Brief description

alarm

Set alarm clock

cdisco

Deactivate a contingency routine

cenaco

Definition of a contingency routine

cstxit and _cstxit

Definition of a STXIT routine

kill

Send signal to own program

raise

Send signal to own program

signal

Control signal processing

sleep

Suspend program for fixed period of time

Non-local jumps

Name

Brief description

setjmp

Set marker for non-local jumps

longjmp

Non-local jump

Program diagnostics

Name

Brief description

assert

Macro for error diagnosis