Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pgm_exit(3) — HP-UX 9.03

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pfm_$cleanup(3)

pfm_$signal(3)

pgm_$exit(3)

NAME

pgm_$exit() − exit a program

SYNOPSIS

C Syntax

#include <idl/c/base.h>
#include <ppfm.h>

void pgm_$exit(void)

Pascal Syntax

%include ’/sys/ins/base.ins.pas’;
%include ’/sys/ins/pgm.ins.pas’;

procedure pgm_$exit;

Remarks

To view this manual entry via the man(1) command, use the function name shown above without the “$” character. 

DESCRIPTION

pgm_$exit() exits from the calling program. 

Any cleanup handlers that have been established are executed in sequence from the most recently established to the first. 

On Apollo systems, this call invokes pfm_$signal() with a fault code equal to the last severity level set by pgm_$set_severity(), or pgm_$ok() if pgm_$set_severity() was not called. 

On other systems, this call invokes pfm_$signal() with a fault code of status_$ok. 

SEE ALSO

pfm_$cleanup(3), pfm_$signal(3). 

Hewlett-Packard Company  —  HP-UX Release 9.03: April 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026