libtecla_version(3TECLA) Interactive Command-line Input Library Functions 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 |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO libtecla(3LIB), attributes(5)SunOS 5.10 1 Jun 2004 libtecla_version(3TECLA)
Check Out this Related Man Page
NE_VERSION_MATCH(3) neon API reference NE_VERSION_MATCH(3)NAME
ne_version_match, ne_version_string - library versioning
SYNOPSIS
#include <ne_utils.h>
int ne_version_match (int major, int minor);
const char *ne_version_string (void);
DESCRIPTION
The ne_version_match function returns non-zero if the library version is not of major version major, or the minor version is less than mi-
nor. For neon versions 0.x, every minor version is assumed to be incompatible with every other minor version.
The ne_version_string function returns a string giving the library version.
EXAMPLES
To require neon 1.x, version 1.2 or later:
if (ne_version_match(1, 2)) {
printf("Library version out of date: 1.2 required, found %s.",
ne_version_string());
exit(1);
}
AUTHOR
Joe Orton <neon@webdav.org>.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWneon |
+--------------------+-----------------+
|Interface Stability | Volatile |
+--------------------+-----------------+
NOTES
Source for Neon is available on http://opensolaris.org.
neon 0.25.5 20 January 2006 NE_VERSION_MATCH(3)
Dear Members,
Do you know any information about versioning a binary file. That means test.out 1.0.0, 1.0.1, 1.1.0, and so on. Can I manually edit version number (both major and minor) and revision number myself (how?) or any utility to set version number (which one?).
Best Regards,
Francesco (2 Replies)