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



Returns the device's descriptive text.


char *  get_dev_desc ( device_name )
char *  device_name;


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.


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 ]