LIBTECLA_VERSION(3TECLA) Interactive Command-line Input Library Functions
libtecla_version - query libtecla version number
cc [ flag... ] file... -ltecla [ library... ]
#include <libtecla.h>
void libtecla_version(int *major, int *minor, int *micro);
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.
See attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Evolving |
+--------------------+-----------------+
|MT-Level | MT-Safe |
+--------------------+-----------------+
libtecla(3LIB), attributes(7)
June 1, 2004 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(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Evolving |
+--------------------+-----------------+
|MT-Level | MT-Safe |
+--------------------+-----------------+
SEE ALSO
libtecla(3LIB), attributes(7)
June 1, 2004 LIBTECLA_VERSION(3TECLA)