TutWarning unconditional printf
-style warning to an output window
format_str
printf
-style format string
additional args printf
-style arguments
None
None
TutWarning unconditionally prints a warning to the output window of the SmartSockets process that the call is being used with. The output generated is preceded with the word WARNING
. This function is useful for printing error messages. It supports all the conversion specifications that printf
does (%f, %g, %d, %s, and so on). See any C reference manual for more information on the conversion specifications.
None
This example uses TutWarning for important error messages:
/* perform some processing */
if (error_occurs) {
TutWarning("Could not process data.\n");
return FALSE;
}
The code issues this output:
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |