Function iox_node_get_name

Function Documentation

uint64_t iox_node_get_name(iox_node_t const self, char *const name, const uint64_t nameCapacity)

acquires the name of the node

Parameters:
  • self[in] handle to the node

  • name[in] pointer to a memory location where the name can be written to

  • nameCapacity[in] size of the memory location where the name is written to

Returns:

the actual length of the node name, if the return value is greater then nameCapacity the name is truncated. If name is a nullptr, 0 will be returned.