TutGetOutputFunc


Name

TutGetOutputFunc — get the function used for TutOut output

Synopsis

T_OUT_VA_FUNC TutGetOutputFunc() 

Arguments

None

Return Values

The output function used by TutOut.

Diagnostics

None

Description

TutGetOutputFunc gets the function used by TutOut to display output. The default is vprintf. See the reference page for TutSetOutputFunc for more information on this output function.

Caution

None

See Also

TutOut, TutSetOutputFunc

Examples

This example sets and restores all TutOut output temporarily:

T_OUT_VA_FUNC save_func; 
 
save_func = TutGetOutputFunc(); 
TutSetOutputFunc(dummy_func); 
 
/* call functions which produce output (e.g., TipcSrvCreate) */ 
 
TutSetOutputFunc(save_func); /* restore */ 

TIBCO SmartSockets™ Utilities
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com