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.0: August 1992