Function rcutils_get_platform_library_name

Function Documentation

rcutils_ret_t rcutils_get_platform_library_name(const char *library_name, char *library_name_platform, unsigned int buffer_size, bool debug)

Get the library name for the compiled platform.

Parameters:
  • library_name[in] library base name (without prefix and extension)

  • library_name_platform[out] library name for the compiled platform

  • buffer_size[in] size of library_name_platform buffer

  • debug[in] if true the library will return a debug library name, otherwise it returns a normal library path

Returns:

RCUTILS_RET_OK if successful, or

Returns:

RCUTILS_RET_ERROR if an unknown error occurs