TutGetVersionName


Name

TutGetVersionName — get the SmartSockets software version name

Synopsis

T_STR TutGetVersionName() 

Arguments

None

Return Values

String containing version name.

Diagnostics

None

Description

TutGetVersionName retrieves the current version number of SmartSockets as a string of the form Version a.bc mm/dd/yy status, where a is the major release number, b is the minor release number, c is an optional maintenance release number, mm/dd/yy is an optional date, and status is an optional status string.

Caution

The version string returned by TutGetVersionName points to read-only storage and should not be modified.

See Also

TutGetVersionNumber

Examples

Every SmartSockets process prints the version name to stdout and puts the version name in the window title bar:

/*..MyInit -- program initialization with argc, argv */ 
void MyInit(argc, argv) 
T_INT4 argc; 
T_STR *argv; 
{ 
  TutOut("MyInit %s\n", TutGetVersionName()); 
  ... 
} /* MyInit */ 

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