TutErrStrGet


Name

TutErrStrGet — get the global SmartSockets error number as a descriptive string

Synopsis

T_STR TutErrStrGet() 

Arguments

None

Return Values

A string describing the current error number.

Diagnostics

None

Description

TutErrStrGet retrieves the current global SmartSockets error number as a descriptive string. If the error number does not have a matching error string, the string "unknown error x" is returned, with x set to the error number in question.

Caution

The value returned by TutErrStrGet points directly into an internal data structure and should not be modified. The contents of the value are guaranteed to be preserved until the next call to a SmartSockets function.

See Also

TutErrNumGet, TutErrNumToStr

Examples

This example prints the error description string:

TutOut("error: %s\n", TutErrStrGet()); 

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