xs_version3
Report crossroads library version
Usage
void xs_version (int *major, int *minor, int *patch);
Overview
The xs_version() function shall fill in the integer variables pointed to by the major, minor and patch arguments with the major, minor and patch level components of the Crossroads library version.
This functionality is intended for applications or language bindings dynamically linking to the Crossroads library that wish to determine the actual version of the Crossroads library they are using.
Return value
There is no return value.
Errors
No errors are defined.
Examples
Printing out the version of the Crossroads library.
int major, minor, patch;
xs_version (&major, &minor, &patch);
printf ("Current Crossroads version is %d.%d.%d\n", major, minor, patch);
Notes
- 1.
-
mailto:[email protected]
- 2.
-
mailto:[email protected]
Releases
Unchanged in 3 releases since Debian 8 (Jessie).