Returns string representation of version number¶
saf_version_string
is a function defined in utils.c.
Synopsis:
-
char *
saf_version_string
(int verbose, char *buffer, size_t bufsize)¶
Description: Provides a function that should be used so version numbers all have a common format. If verbose
is set then
the returned string will be of the form `version 1.2 release 3 (comment)’, otherwise the returned string will
be of the form `1.2.3-comment’. The ` (comment)’ or `-comment’ part of the string is omitted if there is no
version annotation.
Return Value: buffer
See Also:
- Version Numbers: Introduction for current chapter