The mi_type_typename() function

The mi_type_typename() function obtains the name of a data type from its type descriptor.

Syntax

mi_string *mi_type_typename(type_desc)
   MI_TYPE_DESC *type_desc;
type_desc
A pointer to the type descriptor from which to obtain the name.
Valid in client LIBMI application? Valid in user-defined routine?
Yes Yes

Usage

The mi_type_typename() function obtains the data type name from the type descriptor that type_desc references. For extended data types, the name is the value of the name column of the sysxtdtypes system catalog table.

Return values

An mi_string pointer
The name of the data type in type_desc.
NULL
The function was not successful.