Function rmw_check_zero_rmw_string_array

Function Documentation

rmw_ret_t rmw_check_zero_rmw_string_array(rcutils_string_array_t *array)

Check that a string_array struct is zero initialized.

This sets error message and returns error code if array is not zero initialized

Parameters:

array[in] The string array to check

Returns:

RMW_RET_OK if array is zero initialized, otherwise RMW_RET_ERROR