Get the SAF library version

saf_getInfo_libversion is a function defined in info.c.

Synopsis:

void saf_getInfo_libversion(const SAF_PathInfo info, int *major, int *minor, int *patch, char *annot)

Formal Arguments:

  • info: [IN] database info object obtained from a saf_readInfo_path call.
  • major: [OUT] major version number. Ignored if NULL.
  • minor: [OUT] minor version number. Ignored if NULL.
  • patch: [OUT] patch (aka “release”) version number. Ignored if NULL.
  • annot: [OUT] annotation string of at most 8 chars including null. Caller allocates. Ignored if NULL.

Description: This function is used to obtain SAF library version information from a given path queried with saf_getInfo_path.

Preconditions:

  • info must be non-NULL. (low-cost)

Parallel Notes: Independent semantics only

See Also: