Go to main content

man pages section 3: Extended Library Functions, Volume 4

Exit Print View

Updated: July 2017
 
 

libtecla_version(3TECLA)

Name

libtecla_version - query libtecla version number

Synopsis

cc [ flag… ] file–ltecla [ library… ] 
#include <libtecla.h>

void libtecla_version(int *major, int *minor, int *micro);

Description

The libtecla_version() function queries for the version number of the library.

On return, this function records the three components of the libtecla version number in *major, *minor, *micro. The formal meaning of the three components is as follows:

major

Incrementing this number implies that a change has been made to the library's public interface that makes it binary incompatible with programs that were linked with previous shared versions of libtecla.

minor

This number is incremented by one whenever additional functionality, such as new functions or modules, are added to the library.

micro

This number is incremented whenever modifications to the library are made that make no changes to the public interface, but which fix bugs and/or improve the behind-the-scenes implementation.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
MT-Safe

See Also

libtecla(3LIB), attributes(5)