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

get_dev_desc

Purpose

Returns the device's descriptive text.

Syntax

char *  get_dev_desc ( device_name )
char *  device_name;

Description

The get_dev_desc subroutine gets the descriptive text associated with the device. This text is stored in the catalog field of the PdDv entry for the device. This is usually found in the /usr/lib/methods/devices.cat file for most devices. Other devices may use different catalogs.

Parameters

device_name Character pointer to the name of the device.

Return Value

Upon successful completion, a char pointer to a text string in memory is returned. Otherwise, a value of -1 is returned.


[ Previous | Next | Contents | Home | Search ]