[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, Volume 1

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

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);

Related Information

Remote Procedure Call (RPC) Runtime Library (NCS) in AIX 5L Version 5.2 Communications Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]