Synopsis
OMobj_id object_id );
Description
OMret_obj_name returns an object's name as a character string.
Arguments
object_id
The id of an object.
Returned value
A character string containing the object's name.
On failure, OMret_obj_name returns the string "<invalid>" or "<null"> if given OMnull_obj as an argument.
Example
/* Print val1_id's object name. */
OMobj_id val1_id;
...
printf("%s\n", OMret_obj_name(val1_id));