Home | Previous Page | Next Page   Function Descriptions >

mi_type_typename( )

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
is 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
is the name of the data type in type_desc.
NULL
indicates that the function was not successful.

Related Topics

See also the descriptions of mi_type_align( ), mi_type_byvalue( ), mi_type_constructor_typedesc( ), mi_type_element_typedesc( ), mi_type_full_name( ), mi_type_length( ), mi_type_maxlength( ), mi_type_owner( ), mi_type_precision( ), mi_type_qualifier( ), mi_type_scale( ), mi_type_typedesc( ), and mi_typedesc_typeid( ).

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]