Define RCUTILS_SAFE_FWRITE_TO_STDERR_WITH_FORMAT_STRING

Define Documentation

RCUTILS_SAFE_FWRITE_TO_STDERR_WITH_FORMAT_STRING(format_string, ...)

Set the error message to stderr using a format string and format arguments.

This function sets the error message to stderr using the given format string. The resulting formatted string is silently truncated at RCUTILS_ERROR_MESSAGE_MAX_LENGTH.

Parameters:
  • format_string[in] The string to be used as the format of the error message.

  • ...[in] Arguments for the format string.