[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Understanding the Diagnostic Subsystem for AIX

diagex_initial_state

Purpose

Puts the device under test back to its original state.

Syntax

#include     <diag/diag.h>

int  diagex_initial_state ( device_name )
char *device_name;

Description

The diagex_initial_state subroutine puts the device, and its children if necessary, back to the original state before the diagex_cfg_state routine was called.

Parameters

device_name Name of the device under test.

Return Value

The diagex_initial_state subroutine returns one of the following values:

0 Successful return.
-1 Software error.
4 Device cannot be restored to DEFINE state.
5 Device cannot be restored to AVAILABLE state.
6 Child device cannot be restored to original state.

[ Previous | Next | Contents | Home | Search ]