[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Communications Technical Reference, Volume 1

pfm_$reset_cleanup Library Routine

Purpose

Resets a cleanup handler.

Syntax

#include <idl/c/base.h>
#include <idl/c/pfm.h>
void
pfm_$reset_cleanup (cleanup_recordstatus)
pfm_$cleanup_rec *cleanup_record;
status_$t *status;

Description

The pfm_$reset_cleanup routine re-establishes the cleanup handler last entered so that any subsequent errors enter it first. This procedure should only be used within cleanup handler code.

Parameters

Input
cleanup_ record Indicates a record of the context at the cleanup handler entry point. It is supplied by the pfm_$cleanup routine when the cleanup handler is first established.
Output
status Points to the completion status.

Examples

To re-establish a cleanup handler, enter:

pfm_$reset_cleanup(crec, st);

where the crec cleanup record is a valid cleanup handler.

Implementation Specifics

This Library Routine is part of Network Computing System in Network Support Facilities in Base Operating System (BOS) Runtime.

Related Information

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


[ Previous | Next | Contents | Glossary | Home | Search ]