Man page of lid_version(3) and lid_version_string(3)

Dieses Dokument ist nur in englischer Sprache verfügbar.

Index


NAME

lid_version, lid_version_string - retrieve version information

SYNOPSIS

C/C++ #include <lid.h>

 int          lid_version()
 const char * lid_version_string()

DESCRIPTION

lid_version() and lid_version_string() allow to retrieve version information at runtime.

RETURN VALUE

lid_version() returns a numeric representation of lid's version, consisting of the combination of major, minor and bugfix version.

lid_version_string() returns a read-only string representation of lid's version, consisting of the combination of major, minor and bugfix version, separated by a period.

The memory the returned string is stored in must not be freed.

NOTES

To determine lid's version at compile time, the following definitions are made available by lid.h:

LID_VERSION_STRING

string representation of the version ("MAJOR.MINOR.BUGFIX")

SEE ALSO

lid User Manual