isc_get_client_version()

From InterBase

Go Up to API Function Reference


Returns the client version string.

Syntax

 void isc_get_client_version(char *version)

Description

isc_get_client_version() populates version with the version string, typically in the following format:

XX-dM.N.n.b

The elements of this format are as follows:

Element Description

XX

The all-caps two-character hardware/software platform code:

  • WI = Windows
  • SO = Solaris
  • LI = Linux

d

A distribution indicator

  • B = beta
  • T = test
  • V = verified
  • I = internal

M

The major version number

N

The minor version number

n

A minor-minor version number

b

A build number

You must pass a character buffer that is a least 20 characters long to this function. It does not perform the checks if the buffer is too short.

Return value

isc_get_client_version() returns the version in the form described above in the string pointed to by version.

Advance To: