Go to the first, previous, next, last section, table of contents.


trt_type_name

char *
trt_type_name (enum trt_type_encoding type);

Return a zero terminated C string holding the name of the type. If the type is not a valid value, the string "<unknown type %d>" is returned, with the numeric value of the type replacing the %d.

[Note: In the case of an unknown type being returned this function leaks memory, since the string returned is malloced. End note.]


Go to the first, previous, next, last section, table of contents.