pfm_init(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 ini-
tialization . 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 establishes a default set of signal handlers for the routine. The call to 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 dur-
ing normal operation. Additionally, the user may provide a fault processing clean-up handler for application-specific exit handling.
Files
See Also
intro(3ncs), pfm_cleanup(3ncs)
pfm_init(3ncs)