Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

intro(3ncs)

pfm_cleanup(3ncs)

pfm_init(3ncs)

Name

pfm_init − initialize the PFM package

Syntax

#include <idl/c/base.h>
#include <idl/c/pfm.h>
 void pfm_$init(flags)
unsigned long flags;

Arguments

flags

pfm_init_signal_handlers
Currently the only valid flag value.  A flag’s variable must be set to contain this value or the call will perform no initialization .  A call to pfm_init_signal_handlers causes C signals to be intercepted and converted to PFM signals.  On ULTRIX and VMS systems, the signals intercepted are SIGINIT, SIGILL, SIGFPE, SIGTERM, SIGHUP, SIGQUIT, SIGTRAP, SIGBUS, SIGSEGV, and SIGSYS. 

Description

The call to pfm_$init() establishes a default set of signal handlers for the routine.  The call to pfm_$init() should be made prior to the application’s use of all other runtime RPC routines. This enables the RPC runtime system to catch and report all fault and/or interrupt signals that may occur during normal operation. Additionally, the user may provide a fault processing clean-up handler for application-specific exit handling.

Files

/usr/include/idl/c/base.h
/usr/include/idl/base.idl
/usr/include/idl/c/pfm.h

See Also

intro(3ncs), pfm_cleanup(3ncs)

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