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

diag_exec_source

Purpose

Returns an indication of where diagnostics is being run from.

Syntax

int diag_exec_source ( mount_point )
char *mount_point;

Description

The diag_exec_source determines where the diagnostics program is run from. If not from hard file, then mount_point contains the directory where the file system resides (CDRFS).

Parameters

mount_point Character pointer to directory name where the file system resides.

Return Value

The diag_exec_source subroutine returns one of the following values:

0 Running from hardfile.
1 Running from CD-ROM.

[ Previous | Next | Contents | Home | Search ]