pfm_$init Library Routine

Purpose

Initializes the program fault management (PFM) package.

Syntax

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

void
pfm_$init ( flags)

unsigned long flags;

Description

The pfm_$init routine initializes the PFM package. Applications that use the PFM package should invoke the pfm_$init routine before invoking any other Network Computing System (NCS) routines.

Parameters

Input

Item Description
flags Indicates which initialization activities to perform. Currently only one value is valid: pfm_$init_signal_handlers. This causes C signals to be intercepted and converted to PFM signals. The signals intercepted are SIGINT, SIGILL, SIGFPE, SIGTERM, SIGHUP, SIGQUIT, SIGTRAP, SIGBUS, SIGSEGV, and SIGSYS.

Examples

To initialize the PFM subsystem, enter:

pfm_$init(pfm_$init_signal_handlers);