DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

SaGetSSOVersion(TCL_ADM)


SaGetSSOVersion -- extract a version string from the storage section pathname

Syntax

SaGetSSOVersion patchArea

Description

SaGetSSOVersion provides an application with the version string portion of the storage section where the executable file is stored. This provides a convenient and consistent version identifier that can be used wherever appropriate in the application's user interface (example: ``Help on Version'').

Arguments


patchArea
data structure in the executable application image that has been patched with the correct storage section name via ssoPatch(CDMT).

Return values

A string representing the version portion of the storage section pathname.

Examples

set patchArea {__SSO_ID_ST@SCO:Unix:5.0.0Cl       @SSO_ID_END__}
set versionString [SaGetSSOVersion $patchArea]

See also

ssoPatch(CDMT), SSO_GetSegmentRootPath(TCL_ADM), custom(ADM).
16 September 2002
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003