Function dds_get_name¶
Defined in File dds.h
Function Documentation¶
-
dds_return_t dds_get_name(dds_entity_t topic, char *name, size_t size)¶
Returns the name of a given topic.
- Parameters
topic – [in] The topic.
name – [out] Buffer to write the topic name to.
size – [in] Number of bytes available in the buffer.
- Returns
A dds_return_t indicating success or failure.
- Returns
Actual length of topic name (name is truncated if return value >= size) or error