Function dds_get_type_name

Function Documentation

dds_return_t dds_get_type_name(dds_entity_t topic, char *name, size_t size)

Returns the type name of a given topic.

Parameters
  • topic[in] The topic.

  • name[out] Buffer to write the topic type name to.

  • size[in] Number of bytes available in the buffer.

Returns

A dds_return_t indicating success or failure.

Returns

Actual length of type name (name is truncated if return value >= size) or error