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