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

Understanding the Diagnostic Subsystem for AIX

ipl_mode

Purpose

Returns the state of the diagnostic IPL mode.

Syntax

#include    <diag/diag.h>
 
int ipl_mode ( source )
int source;

Description

The ipl_mode subroutine returns the state of the diagnostic IPL mode, and the IPL source.

Parameters

Parameter Description
source Set according to IPL source:

If the value of the environment variable DIAG_IPL_SOURCE is NULL or IPL_SOURCE_DISK or IPL_SOURCE_LAN, then the value of source will be set to DIAG_FALSE (0).

If the value of the environment variable DIAG_IPL_SOURCE is IPL_SOURCE_CDROM or IPL_SOURCE_TAPE, then the value of source will be set to DIAG_TRUE (1).

Return Value

The ipl_mode subroutine returns one of the following values:

Return Value Description
1 EXENV_IPL Diagnostics invoked during IPL
2 EXENV_STD Standalone Diagnostics, Online Service, or Online Maintenance
4 EXENV_CONC Online Concurrent Diagnostics

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