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. |
Upon successful completion, a char pointer to a text string in memory is returned. Otherwise, a value of -1 is returned.