xs_version(3)

Name

xs_version - report Crossroads library version

Synopsis

void xs_version (int *major, int *minor, int *patch);

Description

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.

Example

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);

See also

xs(7)

Authors

The Crossroads documentation was written by Martin Sustrik <moc.mpb052|kirtsus#moc.mpb052|kirtsus> and Martin Lucina <ten.anicul|nitram#ten.anicul|nitram>.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License