DOKK / manpages / debian 12 / libkcapi-dev / kcapi_version.3.en
KCAPI_VERSION(3) Programming Interface KCAPI_VERSION(3)

kcapi_version - return machine-usable version number of kcapi library

uint32_t kcapi_version(void);

void

no arguments

The function returns a version number that is monotonic increasing for newer versions. The version numbers are multiples of 100. For example, version 1.2.3 is converted to 1020300 -- the last two digits are reserved for future use.

The result of this function can be used in comparing the version number in a calling program if version-specific calls need to be make.

return Version number of kcapi library

Stephan Mueller <smueller@chronox.de>

Author.

February 2022 libkcapi Manual 1.4.0